summary refs log tree commit diff
path: root/man
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2006-01-02 20:38:10 +0000
committerGerrit Pape <pape@smarden.org>2006-01-02 20:38:10 +0000
commitc2761c3fce17025663afe1d7016c156eead77659 (patch)
tree7b9d4bb38ccfb4c0213e34f5db60704527019c5b /man
parentcc8f7577b6cf2cdc2b0489e3d18251bd98ba73c5 (diff)
downloadrunit-c2761c3fce17025663afe1d7016c156eead77659.tar.gz
runit-c2761c3fce17025663afe1d7016c156eead77659.tar.xz
runit-c2761c3fce17025663afe1d7016c156eead77659.zip
* chpst.c: adjust nice value and set limits before dropping permissions.
  * sv.c: new additional command 'check'; with -v check for CONT through
    ./check if service is up.
  * man/sv.8: adapt.
1.3.3.
Diffstat (limited to 'man')
-rw-r--r--man/sv.823
1 files changed, 20 insertions, 3 deletions
diff --git a/man/sv.8 b/man/sv.8
index 419dfb6..59be1dc 100644
--- a/man/sv.8
+++ b/man/sv.8
@@ -49,7 +49,8 @@ to be controlled then is specified by the base name of the ``init script''.
 .SH COMMANDS
 .TP
 .B status
-Report the current status of the service to standard output.
+Report the current status of the service, and the appendant log service if
+available, to standard output.
 .TP
 .B up
 If the service is not running, start it.
@@ -181,13 +182,29 @@ process to terminate.
 Then report the status, and on timeout send the service the
 .I kill
 command.
+.SH Additional Commands
+.TP
+.B check
+Check for the service to be in the state that's been requested.
+Wait up to 7 seconds for the service to reach the requested state, then
+report the status or timeout.
+If the requested state of the service is
+.IR up ,
+and the script
+.I ./check
+exists in the service directory,
+.B sv
+runs this script to check whether the service is up and running; it's
+considered to be up if
+.I ./check
+exits with 0.
 .SH OPTIONS
 .TP
 .B \-v
 If the
 .I command
-is up, down, term, once, or exit, then wait up to 7 seconds for the command
-to take effect.
+is up, down, term, once, cont, or exit, then wait up to 7 seconds for the
+command to take effect.
 Then report the status or timeout.
 .TP
 .B \-w \fIsec