Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Oct 2019 23:06:17 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r353024 - head/usr.sbin/daemon
Message-ID:  <201910022306.x92N6HhF096242@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910022306.x92N6HhF096242>