[Bug 207248] [patch] daemon(8): Add option to redirect stdout and stderr to a file
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Apr 22 08:56:01 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207248
--- Comment #3 from Dave Cottlehuber <dch at skunkwerks.at> ---
specifically `-o /var/log/thing.log -m 3`
-o output_file
Append output from the daemonized process to output_file. If the
file does not exist, it is created with permissions 0600.
-m output_mask
Redirect output from the child process stdout (1), stderr (2), or
both (3). This value specifies what is sent to syslog and the
log file. The default is 3.
from
https://www.freebsd.org/cgi/man.cgi?query=daemon&apropos=0&sektion=0&manpath=FreeBSD+12-current&arch=default&format=html
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list