summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/runsv.8.html75
-rw-r--r--doc/runsvctrl.8.html10
2 files changed, 38 insertions, 47 deletions
diff --git a/doc/runsv.8.html b/doc/runsv.8.html
index ca1b997..d9e791e 100644
--- a/doc/runsv.8.html
+++ b/doc/runsv.8.html
@@ -37,73 +37,68 @@ and <i>service</i>/log/supervise/status, and in a human-readable format in <i>se
 
 <h2><a name='sect3'>Control</a></h2>
 The named pipes <i>service</i>/supervise/control, and (optionally) <i>service</i>/log/supervise/control
-are provided to give commands to <b>runsv</b>. You can use <i><b>runsvctrl</b>(8)</i> to control
-the service or just write one of the following characters to the named
-pipe: 
+are provided to give commands to <b>runsv</b>. You can use <i><b>sv</b>(8)</i> to control the
+service or just write one of the following characters to the named pipe:
+
 <dl>
 
 <dt><b>u</b> </dt>
-<dd>Up. If the service is not running, start it. If the service stops,
-restart it. </dd>
+<dd>Up. If the service is not running, start it. If the service stops, restart
+it. </dd>
 
 <dt><b>d</b> </dt>
-<dd>Down. If the service is running, send it a TERM signal, and
-then a CONT signal. If ./run exits, start ./finish if it exists. After it stops,
-do not restart service. </dd>
+<dd>Down. If the service is running, send it a TERM signal, and then a
+CONT signal. If ./run exits, start ./finish if it exists. After it stops, do
+not restart service. </dd>
 
 <dt><b>o</b> </dt>
-<dd>Once. If the service is not running, start it. Do
-not restart it if it stops. </dd>
+<dd>Once. If the service is not running, start it. Do not
+restart it if it stops. </dd>
 
 <dt><b>p</b> </dt>
-<dd>Pause. If the service is running, send it a
-STOP signal. </dd>
+<dd>Pause. If the service is running, send it a STOP
+signal. </dd>
 
 <dt><b>c</b> </dt>
-<dd>Continue. If the service is running, send it a CONT signal.
-</dd>
+<dd>Continue. If the service is running, send it a CONT signal. </dd>
 
 <dt><b>h</b> </dt>
-<dd>Hangup. If the service is running, send it a HUP signal. </dd>
+<dd>Hangup.
+If the service is running, send it a HUP signal. </dd>
 
 <dt><b>a</b> </dt>
-<dd>Alarm. If the
-service is running, send it a ALRM signal. </dd>
+<dd>Alarm. If the service
+is running, send it a ALRM signal. </dd>
 
 <dt><b>i</b> </dt>
-<dd>Interrupt. If the service is
-running, send it a INT signal. </dd>
+<dd>Interrupt. If the service is running,
+send it a INT signal. </dd>
 
 <dt><b>q</b> </dt>
-<dd>Quit. If the service is running, send it
-a QUIT signal. </dd>
-
-<dt><b>1</b> </dt>
-<dd>User-defined 1. If the service is running, send it a USR1 signal. </dd>
-
-<dt><b>2</b> </dt>
-<dd>User-defined 2. If the service is running, send it a USR2 signal. </dd>
+<dd>Quit. If the service is running, send it a QUIT signal.
+</li><b></b><li>User-defined 1. If the service is running, send it a USR1 signal. </li><b></b><li>User-defined
+2. If the service is running, send it a USR2 signal. </dd>
 
 <dt><b>t</b> </dt>
-<dd>Terminate.
-If the service is running, send it a TERM signal. </dd>
+<dd>Terminate. If the service
+is running, send it a TERM signal. </dd>
 
 <dt><b>k</b> </dt>
-<dd>Kill. If the service
-is running, send it a KILL signal. </dd>
+<dd>Kill. If the service is running, send
+it a KILL signal. </dd>
 
 <dt><b>x</b> </dt>
-<dd>Exit. If the service is running, send
-it a TERM signal, and then a CONT signal. Do not restart the service. If
-the service is down, and no log service exists, <b>runsv</b> exits. If the service
-is down and a log service exists, <b>runsv</b> closes the standard input of the
-log service, and waits for it to terminate. If the log service is down,
-<b>runsv</b> exits. This command is ignored if it is given to <i>service</i>/log/supervise/control.
-</dd>
+<dd>Exit. If the service is running, send it a TERM signal,
+and then a CONT signal. Do not restart the service. If the service is down,
+and no log service exists, <b>runsv</b> exits. If the service is down and a log
+service exists, <b>runsv</b> closes the standard input of the log service, and
+waits for it to terminate. If the log service is down, <b>runsv</b> exits. This
+command is ignored if it is given to <i>service</i>/log/supervise/control. </dd>
 </dl>
 <p>
-Example: to send a TERM signal to the socklog-unix service, either do  
-# runsvctrl term /var/service/socklog-unix<br>
+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>
  <p>
diff --git a/doc/runsvctrl.8.html b/doc/runsvctrl.8.html
index f067e32..9569d30 100644
--- a/doc/runsvctrl.8.html
+++ b/doc/runsvctrl.8.html
@@ -57,13 +57,9 @@ is running, send it a ALRM signal. </dd>
 send it a INT signal. </dd>
 
 <dt><b>quit</b> </dt>
-<dd>If the service is running, send it a QUIT signal. </dd>
-
-<dt><b>1</b> </dt>
-<dd>If the service is running, send it a USR1 signal. </dd>
-
-<dt><b>2</b> </dt>
-<dd>If the service is running, send it a USR2 signal. </dd>
+<dd>If the service is running, send it a QUIT signal.
+</li><b></b><li>If the service is running, send it a USR1 signal. </li><b></b><li>If the service is running,
+send it a USR2 signal. </dd>
 
 <dt><b>term</b> </dt>
 <dd>If the service is running, send it a TERM signal.