From b1d02e0a6a89c477f2e607b0a7791d9436137a9a Mon Sep 17 00:00:00 2001 From: fuerbringer Date: Tue, 15 Nov 2016 16:24:22 +0100 Subject: [PATCH] Added assumed path to description and corrected command format. --- pages/linux/service.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/linux/service.md b/pages/linux/service.md index aab76fad62..8aac607188 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`