diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2018-06-15 12:23:50 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2018-06-15 12:23:50 -0500 |
commit | e6d01471fe2a8eb8a15bb906d7c91c11805d1bef (patch) | |
tree | 21a2e6e87509880772482470a747983346e3d3f7 /man/openrc-run.8 | |
parent | d4501a9f06c807f87be04f128e535a74b370fdb4 (diff) |
start-stop-daemon: add ability to log stdout or stderr to processes
Diffstat (limited to 'man/openrc-run.8')
-rw-r--r-- | man/openrc-run.8 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/man/openrc-run.8 b/man/openrc-run.8 index f0750406..03f8b680 100644 --- a/man/openrc-run.8 +++ b/man/openrc-run.8 @@ -173,6 +173,23 @@ variable is set. The same thing as .Pa output_log but for the standard error output. +.It Ar output_logger +This is a process which will be used to log the standard output from the +service. 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 command must be executable as a shell +command inside the chroot if the +.Pa chroot +variable is set. Keep in mind also that this command works by accepting +the stdout of the service on stdin. +An example of a command that can be run this way is logger if you want +your service output to go to syslog. +.It Ar error_logger +The same thing as +.Pa output_logger +but for the standard error output. .It Ar directory .Xr start-stop-daemon 8 and |