svn commit: r355493 - stable/12/usr.sbin/daemon

Ian Lepore ian at FreeBSD.org
Sat Dec 7 17:19:37 UTC 2019


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.


More information about the svn-src-all mailing list