1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-25 00:35:24 +02:00

Added assumed path to description and corrected command format.

This commit is contained in:
fuerbringer 2016-11-15 16:24:22 +01:00 committed by Agniva De Sarker
parent 7bf5a9a5f3
commit b1d02e0a6a

View file

@ -1,11 +1,11 @@
# service
> 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):
`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):
@ -17,4 +17,4 @@
- List the status of all services:
`service --status-all`
`service --status-all`