runit

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 6a5f63ba2517220bcc3354723b4f5027a5e7bec7
parent 224fcfea04e16dfa6088c17757caca397971618e
Author: Gerrit Pape <pape@smarden.org>
Date:   Fri, 14 Jan 2005 22:45:22 +0000

minor.

Diffstat:
Mdoc/runsvctrl.8.html | 46+++++++++++++++++++++++-----------------------
Mman/runsvctrl.8 | 2--
Mpackage/CHANGES | 1+
3 files changed, 24 insertions(+), 25 deletions(-)

diff --git a/doc/runsvctrl.8.html b/doc/runsvctrl.8.html @@ -58,39 +58,39 @@ send it a INT signal. </dd> <dt><b>quit</b> </dt> <dd>If the service is running, send it a QUIT signal. -</li><b></b><li>User-defined 1. If the service is running, send it a USR1 signal. </li><b></b><li>User-defined -2. If the service is running, send it a USR2 signal. </dd> +</li><b></b><li>If the service is running, send it a USR1 signal. </li><b></b><li>If the service is running, +send it a USR2 signal. </dd> <dt><b>term</b> </dt> -<dd>If the service -is running, send it a TERM signal. </dd> +<dd>If the service is running, send it a TERM signal. +</dd> <dt><b>kill</b> </dt> -<dd>If the service is running, send -it a KILL signal. </dd> +<dd>If the service is running, send it a KILL signal. </dd> <dt><b>exit</b> </dt> -<dd>If the service is running, send it a TERM signal. -Do not restart the service. If the service is down, and no log service exists, -<i><b>runsv</b>(8)</i> exits. If the service is down and a log service exists, send a -TERM signal to the log service. If the log service is down, <i><b>runsv</b>(8)</i> exits. -This command is ignored if it is given to <i>service</i>/log/supervise/control. -</dd> +<dd>If the service +is running, send it a TERM signal. Do not restart the service. If the service +is down, and no log service exists, <i><b>runsv</b>(8)</i> exits. If the service is down +and a log service exists, send a TERM signal to the log service. If the +log service is down, <i><b>runsv</b>(8)</i> exits. This command is ignored if it is given +to <i>service</i>/log/supervise/control. </dd> </dl> <p> -<b>runsvctrl</b> actually looks only at the first character of <i>command</i>. +<b>runsvctrl</b> actually looks only at the first +character of <i>command</i>. <h2><a name='sect4'>Exit Codes</a></h2> -<b>runsvctrl</b> -exits 0, if the <i>command</i> was sent successfully to all <i>services</i>. <p> -For each -<i>service</i> that caused an error (e.g. the directory is not controlled by a <i><b>runsv</b>(8)</i> -process), <b>runsvctrl</b> increases the exit code by one and exits non zero. The -maximum is 100. <p> -<b>runsvctrl</b> exits 111 on error. +<b>runsvctrl</b> exits 0, if the <i>command</i> was sent +successfully to all <i>services</i>. <p> +For each <i>service</i> that caused an error (e.g. +the directory is not controlled by a <i><b>runsv</b>(8)</i> process), <b>runsvctrl</b> increases +the exit code by one and exits non zero. The maximum is 100. <p> +<b>runsvctrl</b> exits +111 on error. <h2><a name='sect5'>See Also</a></h2> -<i>runsv(8)</i>, <i>runsvstat(8)</i>, -<i>chpst(8)</i>, <i>svlogd(8)</i>, <i>runit(8)</i>, <i>runit-init(8)</i>, <i>runsvdir(8)</i>, <i>runsvchdir(8)</i>, -<i>utmpset(8)</i>, <i>svwaitdown(8)</i>, <i>svwaitup(8)</i> <p> +<i>runsv(8)</i>, <i>runsvstat(8)</i>, <i>chpst(8)</i>, <i>svlogd(8)</i>, <i>runit(8)</i>, +<i>runit-init(8)</i>, <i>runsvdir(8)</i>, <i>runsvchdir(8)</i>, <i>utmpset(8)</i>, <i>svwaitdown(8)</i>, <i>svwaitup(8)</i> +<p> <i>http://smarden.org/runit/</i><br> <h2><a name='sect6'>Author</a></h2> diff --git a/man/runsvctrl.8 b/man/runsvctrl.8 @@ -59,11 +59,9 @@ If the service is running, send it a INT signal. If the service is running, send it a QUIT signal. .TP .B 1 -User-defined 1. If the service is running, send it a USR1 signal. .TP .B 2 -User-defined 2. If the service is running, send it a USR2 signal. .TP .B term diff --git a/package/CHANGES b/package/CHANGES @@ -11,6 +11,7 @@ Wed, 12 Jan 2005 22:56:40 +0000 Kevin Berry, Karl Chen). * runsv.c: typos; bugfix: run optional control/x when receiving SIGTERM (thx Vladimir Smelhaus); minor. + * man/runsvctrl.8: minor. runit 1.2.0 Fri, 17 Dec 2004 21:08:50 +0000