Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Apr 2017 08:56:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 207248] [patch] daemon(8): Add option to redirect stdout and stderr to a file
Message-ID:  <bug-207248-8-ccgnyUitM3@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-207248-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-207248-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207248

--- Comment #3 from Dave Cottlehuber <dch@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=3Ddaemon&apropos=3D0&sektion=3D0&=
manpath=3DFreeBSD+12-current&arch=3Ddefault&format=3Dhtml

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207248-8-ccgnyUitM3>