svn commit: r353024 - head/usr.sbin/daemon

Ian Lepore ian at FreeBSD.org
Wed Oct 2 23:06:18 UTC 2019


Author: ian
Date: Wed Oct  2 23:06:17 2019
New Revision: 353024
URL: https://svnweb.freebsd.org/changeset/base/353024

Log:
  Clarify how the -f option for daemon(8) interacts with other options
  related to redirecting stdout and stderr.

Modified:
  head/usr.sbin/daemon/daemon.8

Modified: head/usr.sbin/daemon/daemon.8
==============================================================================
--- head/usr.sbin/daemon/daemon.8	Wed Oct  2 21:49:39 2019	(r353023)
+++ head/usr.sbin/daemon/daemon.8	Wed Oct  2 23:06:17 2019	(r353024)
@@ -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.


More information about the svn-src-head mailing list