summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--doc/chpst.8.html6
-rw-r--r--doc/sv.8.html4
2 files changed, 7 insertions, 3 deletions
diff --git a/doc/chpst.8.html b/doc/chpst.8.html
index 0337087..97d90f2 100644
--- a/doc/chpst.8.html
+++ b/doc/chpst.8.html
@@ -12,7 +12,7 @@
 chpst - runs a program with a changed process state 
 <h2><a name='sect1'>Synopsis</a></h2>
 <b>chpst</b> [-vP012]
-[-u <i>user</i>] [-U <i>user</i>] [-e <i>dir</i>] [-/ <i>root</i>] [-n <i>inc</i>] [-l|-L <i>lock</i>] [-m <i>bytes</i>] [-d <i>bytes</i>]
+[-u <i>user</i>] [-U <i>user</i>] [-b <i>argv0</i>] [-e <i>dir</i>] [-/ <i>root</i>] [-n <i>inc</i>] [-l|-L <i>lock</i>] [-m <i>bytes</i>] [-d <i>bytes</i>]
 [-o <i>n</i>] [-p <i>n</i>] [-f <i>bytes</i>] [-c <i>bytes</i>] <i>prog</i> 
 <h2><a name='sect2'>Description</a></h2>
 <i>prog</i> consists of one or
@@ -41,6 +41,10 @@ as found in <i>/etc/group</i>, instead of <i>user</i>&rsquo;s gid. If <i>user</i
 colon, the <i>user</i> and <i>group</i> arguments are interpreted as uid and gid respectivly,
 and not looked up in the password or group file. </dd>
 
+<dt><b>-b <i>argv0</b> </i></dt>
+<dd>argv0. Run <i>prog</i>
+with <i>argv0</i> as the 0th argument. </dd>
+
 <dt><b>-e <i>dir</b> </i></dt>
 <dd>envdir. Set various
 environment variables as specified by files in the directory <i>dir</i>: If <i>dir</i>
diff --git a/doc/sv.8.html b/doc/sv.8.html
index f8c6b26..6552f58 100644
--- a/doc/sv.8.html
+++ b/doc/sv.8.html
@@ -175,9 +175,9 @@ For each <i>service</i> that caused an error
 out while waiting), <b>sv</b> increases the exit code by one and exits non zero.
 The maximum is 99. <b>sv</b> exits 100 on error. <p>
 If <b>sv</b> is called with a base name
-other than <b>sv</b>, it exits 1 on timeout or trouble sending the command. If
+other than <b>sv</b>: it exits 1 on timeout or trouble sending the command; if
 the <i>command</i> is <b>status</b>, it exits 3 if the service is down, and 4 if the
-status is unknown. It exits 2 on wrong usage, and 151 on error. 
+status is unknown; it exits 2 on wrong usage, and 151 on error. 
 <h2><a name='sect9'>See Also</a></h2>
 <i>runsv(8)</i>,
 <i>chpst(8)</i>, <i>svlogd(8)</i>, <i>runsvdir(8)</i>, <i>runsvchdir(8)</i>, <i>runit(8)</i>, <i>runit-init(8)</i>