diff options
author | Gerrit Pape <pape@smarden.org> | 2005-12-18 11:19:03 +0000 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2005-12-18 11:19:03 +0000 |
commit | 1df2cdff198a669c91ebbddc0944c5e8426386e3 (patch) | |
tree | 6531fc44db8602f6b1908c2f5cefd6bebef9cce9 /doc/chpst.8.html | |
parent | c2e4f73a63165a5dc8cd6c7e30bf9f3680d0cd28 (diff) | |
download | runit-1df2cdff198a669c91ebbddc0944c5e8426386e3.tar.gz runit-1df2cdff198a669c91ebbddc0944c5e8426386e3.tar.xz runit-1df2cdff198a669c91ebbddc0944c5e8426386e3.zip |
html.
Diffstat (limited to 'doc/chpst.8.html')
-rw-r--r-- | doc/chpst.8.html | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/doc/chpst.8.html b/doc/chpst.8.html index 8369ea7..9932d2a 100644 --- a/doc/chpst.8.html +++ b/doc/chpst.8.html @@ -33,23 +33,21 @@ groups are removed. </dd> <dt><b>-U <i>user[:group]</b> </i></dt> <dd>envuidgid. Set the environment variables $UID and $GID to the <i>user</i>’s uid and gid. If <i>user</i> is followed by a colon and -a <i>group</i>, set $GID to the <i>group</i>’s gid instead of <i>user</i>’s gid. If <i>group</i> consists -of a colon-separated list of group names, <b>chpst</b> sets the group ids of all -listed groups. All initial supplementary groups are removed. </dd> +a <i>group</i>, set $GID to the <i>group</i>’s gid instead of <i>user</i>’s gid. </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> contains a file named <i>k</i> whose first line is <i>v</i>, <b>chpst</b> removes -the environment variable <i>k</i> if it exists, and then adds the environment -variable <i>k</i> with the value <i>v</i>. The name <i>k</i> must not contain =. Spaces and tabs -at the end of <i>v</i> are removed, and nulls in <i>v</i> are changed to newlines. If -the file <i>k</i> is empty (0 bytes long), <b>chpst</b> removes the environment variable -<i>k</i> if it exists, without adding a new variable. </dd> +<dd>envdir. Set +various environment variables as specified by files in the directory <i>dir</i>: +If <i>dir</i> contains a file named <i>k</i> whose first line is <i>v</i>, <b>chpst</b> removes the +environment variable <i>k</i> if it exists, and then adds the environment variable +<i>k</i> with the value <i>v</i>. The name <i>k</i> must not contain =. Spaces and tabs at the +end of <i>v</i> are removed, and nulls in <i>v</i> are changed to newlines. If the file +<i>k</i> is empty (0 bytes long), <b>chpst</b> removes the environment variable <i>k</i> if +it exists, without adding a new variable. </dd> <dt><b>-/ <i>root</b> </i></dt> -<dd>chroot. Change the -root directory to <i>root</i> before starting <i>prog</i>. </dd> +<dd>chroot. Change the root +directory to <i>root</i> before starting <i>prog</i>. </dd> <dt><b>-n <i>inc</b> </i></dt> <dd>nice. Add <i>inc</i> to the <i><b>nice</b>(2)</i> @@ -112,12 +110,12 @@ with wrong options. It prints an error message and exits 111 if it has trouble changing the process state. Otherwise its exit code is the same as that of <i>prog</i>. <h2><a name='sect5'>Emulation</a></h2> -If <b>chpst</b> is called as <i><b>envdir</b>(8)</i>, <i><b>envuidgid</b>(8)</i>, <i><b>pgrphack</b>(8)</i>, -<i><b>setlock</b>(8)</i>, <i><b>setuidgid</b>(8)</i>, or <i><b>softlimit</b>(8)</i>, it emulates the functionality -of these programs from the daemontools package respectively. +If <b>chpst</b> is called as <b>envdir</b>, <b>envuidgid</b>, <b>pgrphack</b>, <b>setlock</b>, +<b>setuidgid</b>, or <b>softlimit</b>, it emulates the functionality of these programs +from the daemontools package respectively. <h2><a name='sect6'>See Also</a></h2> -<i>runsv(8)</i>, -<i>runsvctrl(8)</i>, <i>runsvstat(8)</i>, <i>runsvdir(8)</i>, <i>setsid(2)</i> <p> +<i>sv(8)</i>, <i>runsv(8)</i>, <i>setsid(2)</i>, +<i>runit(8)</i>, <i>runit-init(8)</i>, <i>runsvdir(8)</i>, <i>runsvchdir(8)</i> <p> <i>http://smarden.org/runit/</i><br> <i>http://cr.yp.to/daemontools.html</i><br> |