diff options
author | Gerrit Pape <pape@smarden.org> | 2024-09-26 01:12:53 +0000 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2024-09-27 00:46:17 +0000 |
commit | 074672655ec58fe5846a68e5de7716a2cb9acb86 (patch) | |
tree | df529d22e5499a81a88734336804f7c4b2a61071 /doc/chpst.8.html | |
parent | a57a23bdd04c14600f82807ce96310a08ba90040 (diff) | |
download | runit-074672655ec58fe5846a68e5de7716a2cb9acb86.tar.gz runit-074672655ec58fe5846a68e5de7716a2cb9acb86.tar.xz runit-074672655ec58fe5846a68e5de7716a2cb9acb86.zip |
CHANGES, fix man/chpst.8, adapt doc/chpst.8.html
Diffstat (limited to 'doc/chpst.8.html')
-rw-r--r-- | doc/chpst.8.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/chpst.8.html b/doc/chpst.8.html index c481ce2..095822c 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> [-vVP012] -[-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>] +[-u <i>user</i>] [-U <i>user</i>] [-b <i>argv0</i>] [-e <i>dir</i>] [-/ <i>root</i>] [-C <i>pwd</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>] [-t <i>seconds</i>] <i>prog</i> <h2><a name='sect2'>Description</a></h2> <i>prog</i> consists of one or @@ -59,6 +59,11 @@ without adding a new variable. </dd> <dd>chroot. Change the root directory to <i>root</i> before starting <i>prog</i>. </dd> +<dt><b>-C <i>pwd</b> </i></dt> +<dd>chdir. Change the working directory to +<i>pwd</i> before starting <i>prog</i>. +When combined with -/, the working directory is changed after the chroot. </dd> + <dt><b>-n <i>inc</b> </i></dt> <dd>nice. Add <i>inc</i> to the <i><b>nice</b>(2)</i> value before starting <i>prog</i>. <i>inc</i> must be an integer, and may start with a minus or plus. |