commit fb67c9e38fef56a3d037f7c177d223792fceaf44
parent 446b310f3981e505e21d0ecfb548e0e80b525e09
Author: Gerrit Pape <pape@smarden.org>
Date: Thu, 24 Apr 2003 13:12:29 +0000
html.
Diffstat:
1 file changed, 29 insertions(+), 30 deletions(-)
diff --git 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>