From a3f9d0c1db77e78bdb66f134a1d5a9f5ca6b3115 Mon Sep 17 00:00:00 2001 From: Lexxy Fox Date: Tue, 19 Sep 2023 15:46:31 -0500 Subject: [PATCH] supervise-daemon: added --stdout-logger and --stderr-logger to man page --- man/supervise-daemon.8 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/man/supervise-daemon.8 b/man/supervise-daemon.8 index cd76beb29..c3a6e9f76 100644 --- a/man/supervise-daemon.8 +++ b/man/supervise-daemon.8 @@ -158,6 +158,23 @@ The logfile can also be a named pipe. The same thing as .Fl 1 , -stdout but with the standard error output. +.It Fl -stdout-logger Ar cmd +Run cmd as a child process redirecting the standard output to the +standard input of cmd when started with +.Fl background . +Cmd must be an absolute pathname, but relative to the path optionally given with +.Fl r , -chroot . +This process must be prepared to accept input on stdin and be able to +log it or send it to another location. +.It Fl -stderr-logger Ar cmd +Run cmd as a child process and +Redirect the standard error of the process to the standard input of cmd +when started with +.Fl background . +Cmd must be an absolute pathname, but relative to the path optionally given with +.Fl r , -chroot . +This process must be prepared to accept input on stdin and be able to +log it or send it to another location. .It Fl -capabilities Ar cap-list Start the daemon with the listed inheritable, ambient and bounding capabilities. The format is the same as in cap_iab(3).