mirror of https://github.com/CrimsonTome/tldr.git
service: add page
parent
aa6cb04e10
commit
7bf5a9a5f3
|
@ -0,0 +1,20 @@
|
|||
# service
|
||||
|
||||
> Manage services by running init scripts.
|
||||
> The full script path should be omitted.
|
||||
|
||||
- Start/Stop/Restart/Reload service (start/stop should always be available):
|
||||
|
||||
`service {{init_script}} start/stop/restart/reload`
|
||||
|
||||
- Do a full restart (runs script twice with start and stop):
|
||||
|
||||
`service {{init_script}} --full-restart`
|
||||
|
||||
- Show the current status of a service:
|
||||
|
||||
`service {{init_script}} status`
|
||||
|
||||
- List the status of all services:
|
||||
|
||||
`service --status-all`
|
Loading…
Reference in New Issue