summary refs log tree commit diff
path: root/man
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2004-04-27 17:32:47 +0000
committerGerrit Pape <pape@smarden.org>2004-04-27 17:32:47 +0000
commit42491a14ee8610424e719499b385f3044efe00c6 (patch)
tree5d8f225eec63aad6bf723caf363175375dc3e2f8 /man
parenta895d97d5a31f4f864acc271e28dacc63f02a18e (diff)
downloadrunit-42491a14ee8610424e719499b385f3044efe00c6.tar.gz
runit-42491a14ee8610424e719499b385f3044efe00c6.tar.xz
runit-42491a14ee8610424e719499b385f3044efe00c6.zip
chpst: support -/ chroot.
Diffstat (limited to 'man')
-rw-r--r--man/chpst.815
1 files changed, 12 insertions, 3 deletions
diff --git a/man/chpst.8 b/man/chpst.8
index 6611332..6ca593f 100644
--- a/man/chpst.8
+++ b/man/chpst.8
@@ -10,6 +10,8 @@ chpst \- runs a program with a changed process state
 .IR user ]
 [-e
 .IR dir ]
+[\-/
+.IR root ]
 [-l|-L
 .IR lock ]
 [-m
@@ -96,6 +98,13 @@ removes the environment variable
 .I k
 if it exists, without adding a new variable.
 .TP
+.B \-/ \fIroot
+chroot.
+Change the root directory to
+.I root
+before starting
+.IR prog .
+.TP
 .B \-l \fIlock
 lock.
 Open the file
@@ -153,15 +162,15 @@ Run
 in a new process group.
 .TP
 .B \-0
-Close standard input before running
+Close standard input before starting
 .IR prog .
 .TP
 .B \-1
-Close standard output before running
+Close standard output before starting
 .IR prog .
 .TP
 .B \-2
-Close standard error before running
+Close standard error before starting
 .IR prog .
 .SH EXIT CODES
 .B chpst