summaryrefslogtreecommitdiff
path: root/runit/sv.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-08-03 10:58:12 +0000
committerDenis Vlasenko2007-08-03 10:58:12 +0000
commitf223efbcde63c0c01e5b1331f2fc7f1a9c812f20 (patch)
treedc309c15cc447cd3d815d18e44fefb4534e6316b /runit/sv.c
parent9a3b7b1db736c572ec8c2959daac148369a14cef (diff)
downloadbusybox-f223efbcde63c0c01e5b1331f2fc7f1a9c812f20.zip
busybox-f223efbcde63c0c01e5b1331f2fc7f1a9c812f20.tar.gz
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.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/runit/sv.c b/runit/sv.c
index a918bb7..9181fff 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