diff options
Diffstat (limited to 'runit/sv.c')
-rw-r--r-- | runit/sv.c | 6 |
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 | |||
36 | monitored by the runsv(8) supervisor. | 36 | monitored by the runsv(8) supervisor. |
37 | 37 | ||
38 | services consists of one or more arguments, each argument naming a directory | 38 | services consists of one or more arguments, each argument naming a directory |
39 | service used by runsv(8). If service doesn?t start with a dot or slash, | 39 | service used by runsv(8). If service doesn't start with a dot or slash, |
40 | it is searched in the default services directory /var/service/, otherwise | 40 | it is searched in the default services directory /var/service/, otherwise |
41 | relative to the current directory. | 41 | relative to the current directory. |
42 | 42 | ||
@@ -72,6 +72,8 @@ exit | |||
72 | 72 | ||
73 | sv actually looks only at the first character of above commands. | 73 | sv actually looks only at the first character of above commands. |
74 | 74 | ||
75 | Commands compatible to LSB init script actions: | ||
76 | |||
75 | status | 77 | status |
76 | Same as status. | 78 | Same as status. |
77 | start | 79 | start |
@@ -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. |
109 | force-shutdown | 111 | force-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 |