diff options
author | Julien Reichardt <mi@jrei.ch> | 2017-11-20 23:45:51 +0100 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2017-11-29 15:06:06 -0600 |
commit | ddbdb696582e9fd61995f15d6a3a53055a151e41 (patch) | |
tree | e024598751b72733b7274b9bbe221b7e90694215 /man | |
parent | c84ebb94d19ca856fe064e15d2068d5671e360c9 (diff) |
add more variables for start-stop-daemon and supervise-daemon options
Add the following variables to expose more arguments that can be passed
to start-stop-daemon or supervise-daemon:
- directory will be passed to --chdir
- error_log will be passed to --stderr
- output_log will be passed to --stdout
- umask will be passed to umask
This is for #184.
Diffstat (limited to 'man')
-rw-r--r-- | man/openrc-run.8 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/man/openrc-run.8 b/man/openrc-run.8 index 3f4f7e81..e1db58bd 100644 --- a/man/openrc-run.8 +++ b/man/openrc-run.8 @@ -157,6 +157,24 @@ use this to change the user id before or .Xr supervise-daemon 8 launches the daemon +.It Ar output_log +This is the path to a file or named pipe where the standard output from +the service will be redirected. If you are starting this service with +.Xr start-stop-daemon 8 , +, you must set +.Pa command_background +to true. Keep in mind that this path will be inside the chroot if the +.Pa chroot +variable is set. +.It Ar error_log +The same thing as +.Pa output_log +but for the standard error output. +.It Ar directory +.Xr start-stop-daemon 8 +and +.Xr supervise-daemon 8 +will chdir to this directory before starting the daemon. .It Ar chroot .Xr start-stop-daemon 8 and @@ -201,6 +219,8 @@ used along with in_background_fake to support re-entrant services. .It Ar in_background_fake Space separated list of commands which should always succeed when in_background is yes. +.It Ar umask +Set the umask of the daemon. .Pp Keep in mind that eval is used to process chroot, command, command_args_*, command_user, pidfile and procname. This may affect how they are |