diff options
author | Gerrit Pape <pape@smarden.org> | 2003-10-29 12:49:52 +0000 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2003-10-29 12:49:52 +0000 |
commit | 0162532281333edde64d7fc90f5a5a04dbd947e0 (patch) | |
tree | 644f67855c621eae433ad57c5c43a8f42ada18bb /doc/runsv.8.html | |
parent | 2762f72fe4238827235a2e1249955aeff030a7fb (diff) | |
download | runit-0162532281333edde64d7fc90f5a5a04dbd947e0.tar.gz runit-0162532281333edde64d7fc90f5a5a04dbd947e0.tar.xz runit-0162532281333edde64d7fc90f5a5a04dbd947e0.zip |
0.12.0.
Diffstat (limited to 'doc/runsv.8.html')
-rw-r--r-- | doc/runsv.8.html | 70 |
1 files changed, 34 insertions, 36 deletions
diff --git a/doc/runsv.8.html b/doc/runsv.8.html index 0c540e5..046f49b 100644 --- a/doc/runsv.8.html +++ b/doc/runsv.8.html @@ -37,41 +37,41 @@ and in a human-readable format in <i>service</i>/supervise/stat, <i>service</i>/ <h2><a name='sect3'>Control</a></h2> The named pipes <i>service</i>/supervise/control, and (optionally) <i>service</i>/log/supervise/control -are provided to give commands to <b>runsv</b>. You can use <i><b>svc</b>(8)</i> to control the -service or just write one of the following characters to the named pipe: - +are provided to give commands to <b>runsv</b>. You can use <i><b>runsvctrl</b>(8)</i> to control +the service or just write one of the following characters to the named +pipe: <dl> <dt><b>u</b> </dt> -<dd>Up. If the service is not running, start it. If the service stops, restart -it. </dd> +<dd>Up. If the service is not running, start it. If the service stops, +restart it. </dd> <dt><b>d</b> </dt> -<dd>Down. If the service is running, send it a TERM signal. If ./run exits, -start ./finish if it exists. After it stops, do not restart service. </dd> +<dd>Down. If the service is running, send it a TERM signal. If ./run +exits, start ./finish if it exists. After it stops, do not restart service. +</dd> <dt><b>o</b> </dt> -<dd>Once. -If the service is not running, start it. Do not restart it if it stops. </dd> +<dd>Once. If the service is not running, start it. Do not restart it if it +stops. </dd> -<dt><b>p</b> -</dt> +<dt><b>p</b> </dt> <dd>Pause. If the service is running, send it a STOP signal. </dd> <dt><b>c</b> </dt> -<dd>Continue. If the -service is running, send it a CONT signal. </dd> +<dd>Continue. +If the service is running, send it a CONT signal. </dd> <dt><b>h</b> </dt> -<dd>Hangup. If the service is running, -send it a HUP signal. </dd> +<dd>Hangup. If the service +is running, send it a HUP signal. </dd> <dt><b>a</b> </dt> -<dd>Alarm. If the service is running, send it a ALRM -signal. </dd> +<dd>Alarm. If the service is running, send +it a ALRM signal. </dd> <dt><b>i</b> </dt> -<dd>Interrupt. If the service is running, send it a INT signal. +<dd>Interrupt. If the service is running, send it a INT signal. </dd> <dt><b>1</b> </dt> <dd>User-defined 1. If the service is running, send it a USR1 signal. </dd> @@ -80,26 +80,26 @@ signal. </dd> <dd>User-defined 2. If the service is running, send it a USR2 signal. </dd> <dt><b>t</b> </dt> -<dd>Terminate. If the service is -running, send it a TERM signal. </dd> +<dd>Terminate. If the service +is running, send it a TERM signal. </dd> <dt><b>k</b> </dt> -<dd>Kill. If the service is running, send it -a KILL signal. </dd> +<dd>Kill. If the service is running, send +it a KILL signal. </dd> <dt><b>x or <b>e</b> </b></dt> -<dd>Exit. 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, -<b>runsv</b> exits. If the service is down and a log service exists, <b>runsv</b> closes -the standard input of the log service, and waits for it to terminate. If -the log service is down, <b>runsv</b> exits. This command is ignored if it is given -to <i>service</i>/log/supervise/control. </dd> +<dd>Exit. 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, <b>runsv</b> exits. If the service is down and a log service exists, <b>runsv</b> +closes the standard input of the log service, and waits for it to terminate. +If the log service is down, <b>runsv</b> exits. This command is ignored if it is +given to <i>service</i>/log/supervise/control. </dd> </dl> <p> -For example, to send a TERM signal to -/service/socklog-unix, either do # svc -t /service/socklog-unix<br> +Example: to send a TERM signal to +the socklog-unix service, either do # runsvctrl term /var/service/socklog-unix<br> or<br> - # echo -n t >/service/socklog-unix/supervise/control<br> + # echo -n t >/var/service/socklog-unix/supervise/control<br> <p> If <i><b>echo</b>(1)</i> on your systems does not provide the -n option, leave it out, <b>runsv</b> ignores unknown characters written to the control pipe. <i><b>echo</b>(1)</i> usually @@ -115,11 +115,9 @@ if another <b>runsv</b> is running in <i>service</i>. <p> exit. <h2><a name='sect6'>See Also</a></h2> <i>runsvctrl(8)</i>, <i>runsvstat(8)</i>, <i>runit(8)</i>, <i>runit-init(8)</i>, <i>runsvdir(8)</i>, -<i>runsvchdir(8)</i>, <i>svlogd(8)</i>, <i>svwaitdown(8)</i>, <i>svwaitup(8)</i>, <i>svc(8)</i>, <i>supervise(8)</i> -<p> - <i>http://smarden.org/runit/</i><br> - <i>http://cr.yp.to/daemontools.html</i><br> - +<i>runsvchdir(8)</i>, <i>svlogd(8)</i>, <i>svwaitdown(8)</i>, <i>svwaitup(8)</i>, <p> +<i>http://smarden.org/runit/</i> + <h2><a name='sect7'>Author</a></h2> Gerrit Pape <pape@smarden.org> <p> |