diff --git a/pages/linux/service.md b/pages/linux/service.md index aab76fad6..8aac60718 100644 --- a/pages/linux/service.md +++ b/pages/linux/service.md @@ -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` \ No newline at end of file +`service --status-all`