commit 4e5ecbeb5889e08e5e7a76f90792df8be454273d
parent d2856bbc7368a2ee753aa5a16674f85e1cd54c65
Author: Gerrit Pape <pape@smarden.org>
Date: Thu, 26 Sep 2002 11:13:26 +0000
html.
Diffstat:
1 file changed, 22 insertions(+), 17 deletions(-)
diff --git a/doc/svwaitdown.8.html b/doc/svwaitdown.8.html
@@ -12,7 +12,7 @@
svwaitdown - waits for services controlled by <I>supervise(8)</I> to be down
<H2><A NAME="sect1">Synopsis</A></H2>
-<B>svwaitdown</B> [ <B>-v</B> ] [ <B>-t</B> <I>sec</I> ] <I>services</I>
+<B>svwaitdown</B> [ <B>-v</B> ] [ <B>-k</B> ] [ <B>-t</B> <I>sec</I> ] <I>services</I>
<H2><A NAME="sect2">Description</A></H2>
<I>services</I> consist
of one or more arguments. Each <I>service</I> directory must start with a slash.
@@ -34,27 +34,32 @@ reports errors.
<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>
+
<DT><B>-x</B> </DT>
-<DD>exit. Wait
-for the corresponding <B><I>runsv</B>(8)</I> process to exit instead for the <I>service</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. </DD>
+<DD>Exit. 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 111 if the timeout <I>sec</I> was reached.
-
+<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.
<H2><A NAME="sect5">See Also</A></H2>
-<I>svwaitup(8)</I>, <I>runit(8)</I>, <I>runit-init(8)</I>, <I>runsvdir(8)</I>, <I>runsv(8)</I>, <I>supervise(8)</I>,
-<I>svscan(8)</I> <P>
+<I>svwaitup(8)</I>, <I>runit(8)</I>,
+<I>runit-init(8)</I>, <I>runsvdir(8)</I>, <I>runsv(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>