summary refs log tree commit diff
path: root/doc/runsv.8.html
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2006-11-21 15:14:05 +0000
committerGerrit Pape <pape@smarden.org>2006-11-21 15:14:05 +0000
commitbf5abe64a73ff306daf3cca29f318d3fb7befa18 (patch)
treeeeb304f4aa54b290cd5b2ebaf9df99df22ed1958 /doc/runsv.8.html
parent18fd2ebb6650cadcb31b41ab7dd15db2aa6bbd59 (diff)
downloadrunit-bf5abe64a73ff306daf3cca29f318d3fb7befa18.tar.gz
runit-bf5abe64a73ff306daf3cca29f318d3fb7befa18.tar.xz
runit-bf5abe64a73ff306daf3cca29f318d3fb7befa18.zip
html.
Diffstat (limited to 'doc/runsv.8.html')
-rw-r--r--doc/runsv.8.html45
1 files changed, 22 insertions, 23 deletions
diff --git a/doc/runsv.8.html b/doc/runsv.8.html
index 27c6423..91646e8 100644
--- a/doc/runsv.8.html
+++ b/doc/runsv.8.html
@@ -110,34 +110,33 @@ Example:
 to send a TERM signal to the socklog-unix service, either do   # sv term
 /var/service/socklog-unix<br>
   or<br>
-   # echo -n t &gt;/var/service/socklog-unix/supervise/control<br>
+   # printf t &gt;/var/service/socklog-unix/supervise/control<br>
  <p>
-If <i><b>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. <i><b>echo</b>(1)</i> usually
-blocks if no <b>runsv</b> process is running in the service directory. 
-<h2><a name='sect4'>Customize
-Control</a></h2>
-For each control character <i>c</i> sent to the control pipe, <b>runsv</b> first
-checks if <i>service/control/<i>c</i> exists and is executable. If so, it starts <i>service</i>/control/<i>c</i>
-and waits for it to terminate, before interpreting the command. If the program
-exits with return code 0, <b>runsv</b> refrains from sending the service the corresponding
-signal. The command <i>o</i> is always considered as command <i>u</i>. On command <i>d</i> first
-<i>service</i>/control/t</i> is checked, and then <i>service/control/d.</i> On command <i>x</i> first
-<i>service/control/t</i> is checked, and then <i>service/control/x.</i> The control of
-the optional log service cannot be customized. 
+<i><b>printf</b>(1)</i> usually blocks if no <b>runsv</b> process is running in the service
+directory. 
+<h2><a name='sect4'>Customize Control</a></h2>
+For each control character <i>c</i> sent to the control
+pipe, <b>runsv</b> first checks if <i>service/control/<i>c</i> exists and is executable.
+If so, it starts <i>service</i>/control/<i>c</i> and waits for it to terminate, before
+interpreting the command. If the program exits with return code 0, <b>runsv</b>
+refrains from sending the service the corresponding signal. The command
+<i>o</i> is always considered as command <i>u</i>. On command <i>d</i> first <i>service</i>/control/t</i>
+is checked, and then <i>service/control/d.</i> On command <i>x</i> first <i>service/control/t</i>
+is checked, and then <i>service/control/x.</i> The control of the optional log
+service cannot be customized. 
 <h2><a name='sect5'>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='sect6'>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 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='sect7'>See Also</a></h2>
-<i>sv(8)</i>,
-<i>chpst(8)</i>, <i>svlogd(8)</i>, <i>runit(8)</i>, <i>runit-init(8)</i>, <i>runsvdir(8)</i>, <i>runsvchdir(8)</i>,
-<i>utmpset(8)</i> <p>
-<i>http://smarden.org/runit/</i> 
+<i>sv(8)</i>, <i>chpst(8)</i>, <i>svlogd(8)</i>,
+<i>runit(8)</i>, <i>runit-init(8)</i>, <i>runsvdir(8)</i>, <i>runsvchdir(8)</i>, <i>utmpset(8)</i> <p>
+<i>http://smarden.org/runit/</i>
+
 <h2><a name='sect8'>Author</a></h2>
 Gerrit Pape &lt;pape@smarden.org&gt; <p>