diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2014-10-19 19:36:57 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2014-10-20 15:44:19 -0500 |
commit | 8c7ea4e9e8da500877a514402bbe90aababda2d6 (patch) | |
tree | 75b4a3bf7ef085f5847ccbe6831f24d21533fd00 /man | |
parent | 5f1439f1aac14618592789042e05daaf80f55a15 (diff) |
runscript.sh: add chroot support
This adds support for a chroot variable which will be passed to the
start-stop-daemon --chroot switch to runscript.sh when starting a
daemon. This also needs to be saved so it can be used in locating the
pid file when stopping the daemon.
X-Gentoo-Bug: 524388
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=524388
Diffstat (limited to 'man')
-rw-r--r-- | man/openrc-run.8 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/man/openrc-run.8 b/man/openrc-run.8 index c8bf24d4..3308f244 100644 --- a/man/openrc-run.8 +++ b/man/openrc-run.8 @@ -120,6 +120,9 @@ Set this to "true", "yes" or "1" (case-insensitive) to force the daemon into the background. This implies the "--make-pidfile" and "--pidfile" option of .Xr start-stop-daemon 8 so the pidfile variable must be set. +.It Ar chroot +.Xr start-stop-daemon 8 +will chroot into this path before writing the pid file or starting the daemon. .It Ar pidfile Pidfile to use for the above defined command. .It Ar name |