Added assumed path to description and corrected command format.
This commit is contained in:

committed by
Agniva De Sarker

parent
7bf5a9a5f3
commit
b1d02e0a6a
@@ -1,11 +1,11 @@
|
|||||||
# service
|
# service
|
||||||
|
|
||||||
> Manage services by running init scripts.
|
> Manage services by running init scripts.
|
||||||
> The full script path should be omitted.
|
> The full script path (usually /etc/init.d/) should be omitted.
|
||||||
|
|
||||||
- Start/Stop/Restart/Reload service (start/stop should always be available):
|
- Start/Stop/Restart/Reload service (start/stop should always be available):
|
||||||
|
|
||||||
`service {{init_script}} start/stop/restart/reload`
|
`service {{init_script}} {{start|stop|restart|reload}}`
|
||||||
|
|
||||||
- Do a full restart (runs script twice with start and stop):
|
- Do a full restart (runs script twice with start and stop):
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user