diff options
author | Gerrit Pape <pape@smarden.org> | 2003-04-24 13:12:29 +0000 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2003-04-24 13:12:29 +0000 |
commit | bc0cb9e736522ef7bd3d813e5ab7f1e4a3b9c0a8 (patch) | |
tree | bf7e7774a5d78f206937da911d931fb807e77f8e /doc | |
parent | e31553367cd6751fb4b6f65bba8c8e91acc5e0c3 (diff) | |
download | runit-bc0cb9e736522ef7bd3d813e5ab7f1e4a3b9c0a8.tar.gz runit-bc0cb9e736522ef7bd3d813e5ab7f1e4a3b9c0a8.tar.xz runit-bc0cb9e736522ef7bd3d813e5ab7f1e4a3b9c0a8.zip |
html.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/svwaitdown.8.html | 59 |
1 files changed, 29 insertions, 30 deletions
diff --git a/doc/svwaitdown.8.html b/doc/svwaitdown.8.html index 34d21ac..b988e60 100644 --- a/doc/svwaitdown.8.html +++ b/doc/svwaitdown.8.html @@ -17,52 +17,51 @@ svwaitdown - waits for services controlled by <I>supervise(8)</I> to be down <I>services</I> consists of one or more arguments. Each <I>service</I> directory must start with a slash. <P> -<B>svwaitdown</B> sends each <I>service</I> given at the command line the ``down'' command -if not yet done, and waits for it to become down. The <I>services</I> given at -the command line must be controlled by <B><I>supervise</B>(8)</I>. <P> -<B>svwaitdown</B> blocks, -limited by a <I>timeout</I>, until all <I>services</I> are down or reports errors. +<B>svwaitdown</B> sends each <I>service</I> given at the command line the ``down'' command, +and waits for it to become down. The <I>services</I> given at the command line +must be controlled by <B><I>supervise</B>(8)</I>. <P> +<B>svwaitdown</B> blocks, limited by a <I>timeout</I>, +until all <I>services</I> are down or reports errors. <H2><A NAME="sect3">Options</A></H2> <DL> -<DT><B>-v</B> -</DT> -<DD>verbose. Print verbose messages to stderr. </DD> +<DT><B>-v</B> </DT> +<DD>verbose. Print verbose +messages to stderr. </DD> <DT><B>-t <I>sec</B> </I></DT> -<DD>Set the timeout for waiting -for <I>services</I> to become down to <I>sec</I> seconds. <I>sec</I> must be between 2 and 6000. -Default is 600 (10 minutes). </DD> +<DD>Set the timeout for waiting for <I>services</I> to become +down to <I>sec</I> seconds. <I>sec</I> must be between 2 and 6000. Default is 600 (10 minutes). +</DD> <DT><B>-k</B> </DT> -<DD>Kill. If the timeout is reached before all -<I>services</I> are down, tell the <B><I>supervise</B>(8)</I> processes to send the <I>services</I> -a KILL signal. </DD> +<DD>Kill. If the timeout is reached before all <I>services</I> are down, tell the +<B><I>supervise</B>(8)</I> processes to send the <I>services</I> a KILL signal. </DD> <DT><B>-x</B> </DT> -<DD>Exit. Send each <I>service</I> the ``exit'' command additionally to -the ``down'' command, and wait for the corresponding <B><I>runsv</B>(8)</I> processes to -exit instead for the <I>services</I> to be down. This option should only be used -by <B><I>runit</B>(8)</I> in stage 3 when <B><I>runsvdir</B>(8)</I> is already stopped. <P> +<DD>Exit. Send each +<I>service</I> the ``exit'' command additionally to the ``down'' command, and wait for +the corresponding <B><I>runsv</B>(8)</I> processes to exit instead for the <I>services</I> to +be down. This option should only be used by <B><I>runit</B>(8)</I> in stage 3 when <B><I>runsvdir</B>(8)</I> +is already stopped. <P> </DD> </DL> <H2><A NAME="sect4">Exit Codes</A></H2> +<B>svwaitdown</B> returns 0 as soon as all <I>services</I> +are down. <P> +If a <I>service</I> is usually controlled by <B><I>supervise</B>(8)</I>, but no <B><I>supervise</B>(8)</I> +process is currently running, <B>svwaitdown</B> treats this <I>service</I> as if it would +be down. <P> +For each <I>service</I> that causes an error while checking, <B>svwaitdown</B> +increases the exit code by one and exits non zero. The maximum is 100. <P> <B>svwaitdown</B> -returns 0 as soon as all <I>services</I> are down. <P> -If a <I>service</I> is usually controlled -by <B><I>supervise</B>(8)</I>, but no <B><I>supervise</B>(8)</I> process is currently running, <B>svwaitdown</B> -treats this <I>service</I> as if it would be down. <P> -For each <I>service</I> that causes -an error while checking, <B>svwaitdown</B> increases the exit code by one and -exits non zero. The maximum is 100. <P> -<B>svwaitdown</B> returns 111 if the timeout -<I>sec</I> was reached. +returns 111 if the timeout <I>sec</I> was reached. <H2><A NAME="sect5">See Also</A></H2> -<I>svwaitdown(8)</I>, <I>runsv(8)</I>, <I>runsvctrl(8)</I>, <I>runsvstat(8)</I>, -<I>runsvdir(8)</I>, <I>runsvchdir(8)</I>, <I>runit(8)</I>, <I>runit-init(8)</I>, <I>supervise(8)</I>, <I>svscan(8)</I> -<P> +<I>svwaitdown(8)</I>, <I>runsv(8)</I>, +<I>runsvctrl(8)</I>, <I>runsvstat(8)</I>, <I>runsvdir(8)</I>, <I>runsvchdir(8)</I>, <I>runit(8)</I>, <I>runit-init(8)</I>, +<I>supervise(8)</I>, <I>svscan(8)</I> <P> <I>http://smarden.org/runit/</I><BR> <I>http://cr.yp.to/daemontools.html</I><BR> |