summaryrefslogtreecommitdiff
path: root/runit/sv.c
diff options
context:
space:
mode:
Diffstat (limited to 'runit/sv.c')
-rw-r--r--runit/sv.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/runit/sv.c b/runit/sv.c
index a918bb7bd..9181fff75 100644
--- a/runit/sv.c
+++ b/runit/sv.c
@@ -36,7 +36,7 @@ The sv program reports the current status and controls the state of services
36monitored by the runsv(8) supervisor. 36monitored by the runsv(8) supervisor.
37 37
38services consists of one or more arguments, each argument naming a directory 38services consists of one or more arguments, each argument naming a directory
39service used by runsv(8). If service doesn?t start with a dot or slash, 39service used by runsv(8). If service doesn't start with a dot or slash,
40it is searched in the default services directory /var/service/, otherwise 40it is searched in the default services directory /var/service/, otherwise
41relative to the current directory. 41relative to the current directory.
42 42
@@ -72,6 +72,8 @@ exit
72 72
73sv actually looks only at the first character of above commands. 73sv actually looks only at the first character of above commands.
74 74
75Commands compatible to LSB init script actions:
76
75status 77status
76 Same as status. 78 Same as status.
77start 79start
@@ -104,7 +106,7 @@ force-restart
104 7 seconds for the service to restart. Then report the status, and 106 7 seconds for the service to restart. Then report the status, and
105 on timeout send the service the kill command. If the script ./check 107 on timeout send the service the kill command. If the script ./check
106 exists in the service directory, sv runs this script to check whether 108 exists in the service directory, sv runs this script to check whether
107 the service is up and available again; it?s considered to be available 109 the service is up and available again; it's considered to be available
108 if ./check exits with 0. 110 if ./check exits with 0.
109force-shutdown 111force-shutdown
110 Same as exit, but wait up to 7 seconds for the runsv(8) process to 112 Same as exit, but wait up to 7 seconds for the runsv(8) process to