diff options
author | Gerrit Pape <pape@smarden.org> | 2004-07-28 15:58:22 +0000 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2004-07-28 15:58:22 +0000 |
commit | ab87c7b64a7ea6a72149832cd86a12c3319d88e3 (patch) | |
tree | 84bc1e8f1931f3a2c9cc4bc4b36ccaf5fc539b0e /doc/runsvdir.8.html | |
parent | 1c01b38fb9032a8ce8be88785b7df1ccc0cd241b (diff) | |
download | runit-ab87c7b64a7ea6a72149832cd86a12c3319d88e3.tar.gz runit-ab87c7b64a7ea6a72149832cd86a12c3319d88e3.tar.xz runit-ab87c7b64a7ea6a72149832cd86a12c3319d88e3.zip |
* doc/runlevels.html, doc/upgrade.html, doc/useinit.html, man/runsvdir.8,
man/runsvchdir.8: minor changes in wording, notations.
Diffstat (limited to 'doc/runsvdir.8.html')
-rw-r--r-- | doc/runsvdir.8.html | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/doc/runsvdir.8.html b/doc/runsvdir.8.html index 606a44b..691ccac 100644 --- a/doc/runsvdir.8.html +++ b/doc/runsvdir.8.html @@ -17,37 +17,37 @@ runsvdir - starts and monitors a collection of <i>runsv(8)</i> processes <i>dir</i> must be a directory. <i>log</i> is a space holder for a readproctitle log, and must be at least seven characters long or absent. <p> -<b>runsvdir</b> starts a <i><b>runsv</b>(8)</i> process for each subdirectory in <i>dir</i>, up to -a limit of 1000 subdirectories. <b>runsvdir</b> skips subdirectory names starting -with dots. <i><b>runsv</b>(8)</i> must be in <b>runsvdir</b>’s PATH. <p> -At least every five seconds, -<b>runsvdir</b> checks if <i>dir</i> has changed. If it sees a new subdirectory in <i>dir</i>, -it starts a new <i><b>runsv</b>(8)</i> process. If it sees an old sudirectory where a -<i><b>runsv</b>(8)</i> process has exited, it restarts the <i><b>runsv</b>(8)</i> process. If <b>runsvdir</b> -sees a subdirectory being removed that was previously there, it sends the -corresponding <i><b>runsv</b>(8)</i> process a TERM signal, stops monitoring this process, -and so does not restart the <i><b>runsv</b>(8)</i> process if it exits. <p> -If the <i>log</i> argument -is given to <b>runsvdir</b>, all output to standard error is redirected to this -<i>log</i>, which is similar to the <i><b>readproctitle</b>(8)</i> log. To see the most recent -error messages, use a process-listing tool such as <i><b>ps</b>(1)</i>. <b>runsvdir</b> writes -a dot to the readproctitle log every 15 minutes so that old error messages -expire. <p> -Normally <b>runsvdir</b> is started by <i><b>runit</b>(8)</i> in stage 2. +<b>runsvdir</b> starts a <i><b>runsv</b>(8)</i> process for each subdirectory in the services +directory <i>dir</i>, up to a limit of 1000 subdirectories. <b>runsvdir</b> skips subdirectory +names starting with dots. <i><b>runsv</b>(8)</i> must be in <b>runsvdir</b>’s PATH. <p> +At least every +five seconds, <b>runsvdir</b> checks if <i>dir</i> has changed. If it sees a new subdirectory +in services directory <i>dir</i>, it starts a new <i><b>runsv</b>(8)</i> process. If it sees +an old sudirectory where a <i><b>runsv</b>(8)</i> process has exited, it restarts the +<i><b>runsv</b>(8)</i> process. If <b>runsvdir</b> sees a subdirectory being removed that was +previously there, it sends the corresponding <i><b>runsv</b>(8)</i> process a TERM signal, +stops monitoring this process, and so does not restart the <i><b>runsv</b>(8)</i> process +if it exits. <p> +If the <i>log</i> argument is given to <b>runsvdir</b>, all output to standard +error is redirected to this <i>log</i>, which is similar to the <i><b>readproctitle</b>(8)</i> +log. To see the most recent error messages, use a process-listing tool such +as <i><b>ps</b>(1)</i>. <b>runsvdir</b> writes a dot to the readproctitle log every 15 minutes +so that old error messages expire. <p> +Normally <b>runsvdir</b> is started by <i><b>runit</b>(8)</i> +in stage 2. <h2><a name='sect3'>Signals</a></h2> -If <b>runsvdir</b> -receives a TERM signal, it exits with 0 immediately. <p> -If <b>runsvdir</b> receives -a HUP signal, it sends a TERM signal to each <i><b>runsv</b>(8)</i> process it is monitoring -and then exits with 111. +If <b>runsvdir</b> receives a TERM signal, it exits with 0 immediately. +<p> +If <b>runsvdir</b> receives a HUP signal, it sends a TERM signal to each <i><b>runsv</b>(8)</i> +process it is monitoring and then exits with 111. <h2><a name='sect4'>See Also</a></h2> -<i>runsv(8)</i>, <i>runit(8)</i>, <i>runit-init(8)</i>, <i>runsvchdir(8)</i>, -<i>runsvctrl(8)</i>, <i>runsvstat(8)</i>, <i>chpst(8)</i>, <i>svlogd(8)</i>, <i>utmpset(8)</i>, <i>svwaitdown(8)</i>, -<i>svwaitup(8)</i> <p> +<i>runsv(8)</i>, <i>runit(8)</i>, +<i>runit-init(8)</i>, <i>runsvchdir(8)</i>, <i>runsvctrl(8)</i>, <i>runsvstat(8)</i>, <i>chpst(8)</i>, <i>svlogd(8)</i>, +<i>utmpset(8)</i>, <i>svwaitdown(8)</i>, <i>svwaitup(8)</i> <p> <i>http://smarden.org/runit/</i> <h2><a name='sect5'>Author</a></h2> -Gerrit Pape <pape@smarden.org> -<p> +Gerrit +Pape <pape@smarden.org> <p> <hr><p> <a name='toc'><b>Table of Contents</b></a><p> |