From f223efbcde63c0c01e5b1331f2fc7f1a9c812f20 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 3 Aug 2007 10:58:12 +0000 Subject: svlogd: fix timestamping; do not warn if config is missing sv: extend help text --- runit/sv.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'runit/sv.c') 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 -- cgit v1.2.3