commit 1e2a83d904157cdd8176085e18354ef03bcd8e16
parent 6aa6d35237818bdc1f940958991c08dfc5e4015b
Author: Gerrit Pape <pape@smarden.org>
Date: Wed, 25 Sep 2002 11:37:57 +0000
minor.
Diffstat:
2 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/doc/runsv.8.html b/doc/runsv.8.html
@@ -95,15 +95,18 @@ example, to send a TERM signal to /service/socklog-unix, either do # svc
-t /service/socklog-unix<BR>
or<BR>
# echo -n t >/service/socklog-unix/supervise/control<BR>
-
+ <P>
+If <B><I>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.
<H2><A NAME="sect4">Signals</A></H2>
-If <B>runsv</B> receives a TERM signal, it acts as if the character x
-was written to the control pipe.
+If
+<B>runsv</B> receives a TERM signal, it acts as if the character x was written
+to the control pipe.
<H2><A NAME="sect5">Exit Codes</A></H2>
-<B>runsv</B> exits 111 on an error on
-startup or if another <B>runsv</B> is running in <I>service</I>. <P>
-<B>runsv</B> exits 0 if it was
-told to exit.
+<B>runsv</B> exits 111 on an error on startup or
+if another <B>runsv</B> is running in <I>service</I>. <P>
+<B>runsv</B> exits 0 if it was told to
+exit.
<H2><A NAME="sect6">See Also</A></H2>
<I>runit(8)</I>, <I>runit-init(8)</I>, <I>runsvdir(8)</I>, <I>svc(8)</I>, <I>supervise(8)</I>
<P>
diff --git a/man/runsv.8 b/man/runsv.8
@@ -122,6 +122,12 @@ For example, to send a TERM signal to /service/socklog-unix, either do
# svc -t /service/socklog-unix
or
# echo -n t >/service/socklog-unix/supervise/control
+.P
+If
+.BR echo (1)
+on your systems does not provide the -n option, leave it out,
+.B runsv
+ignores unknown characters written to the control pipe.
.SH SIGNALS
If
.B runsv