Date: Sat, 7 Dec 2019 17:19:37 +0000 (UTC) From: Ian Lepore <ian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r355493 - stable/12/usr.sbin/daemon Message-ID: <201912071719.xB7HJb96017136@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ian Date: Sat Dec 7 17:19:36 2019 New Revision: 355493 URL: https://svnweb.freebsd.org/changeset/base/355493 Log: MFC r353024-r353025 r353024: Clarify how the -f option for daemon(8) interacts with other options related to redirecting stdout and stderr. r353025: Bump .Dd for earlier update (should have been part of r353024). Modified: stable/12/usr.sbin/daemon/daemon.8 Directory Properties: stable/12/ (props changed) Modified: stable/12/usr.sbin/daemon/daemon.8 ============================================================================== --- stable/12/usr.sbin/daemon/daemon.8 Sat Dec 7 17:17:34 2019 (r355492) +++ stable/12/usr.sbin/daemon/daemon.8 Sat Dec 7 17:19:36 2019 (r355493) @@ -26,7 +26,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 25, 2019 +.Dd October 2, 2019 .Dt DAEMON 8 .Os .Sh NAME @@ -63,6 +63,11 @@ Change the current working directory to the root .It Fl f Redirect standard input, standard output and standard error to .Pa /dev/null . +When this option is used together with any of the options related to file +or syslog output, the standard file descriptors are first redirected to +.Pa /dev/null , +then stdout and/or stderr is redirected to a file or to syslog as +specified by the other options. .It Fl S Enable syslog output. This is implicitly applied if other syslog parameters are provided.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912071719.xB7HJb96017136>