diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-03 10:58:12 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-03 10:58:12 +0000 |
commit | f223efbcde63c0c01e5b1331f2fc7f1a9c812f20 (patch) | |
tree | dc309c15cc447cd3d815d18e44fefb4534e6316b /runit/sv.c | |
parent | 9a3b7b1db736c572ec8c2959daac148369a14cef (diff) |
svlogd: fix timestamping; do not warn if config is missing
sv: extend help text
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 monitored by the runsv(8) supervisor. services consists of one or more arguments, each argument naming a directory -service used by runsv(8). If service doesn?t start with a dot or slash, +service used by runsv(8). If service doesn't start with a dot or slash, it is searched in the default services directory /var/service/, otherwise relative to the current directory. @@ -72,6 +72,8 @@ exit sv actually looks only at the first character of above commands. +Commands compatible to LSB init script actions: + status Same as status. start @@ -104,7 +106,7 @@ force-restart 7 seconds for the service to restart. Then report the status, and on timeout send the service the kill command. If the script ./check exists in the service directory, sv runs this script to check whether - the service is up and available again; it?s considered to be available + the service is up and available again; it's considered to be available if ./check exits with 0. force-shutdown Same as exit, but wait up to 7 seconds for the runsv(8) process to |