diff options
author | Ian Lepore <ian@FreeBSD.org> | 2019-10-02 23:06:17 +0000 |
---|---|---|
committer | Ian Lepore <ian@FreeBSD.org> | 2019-10-02 23:06:17 +0000 |
commit | 0ec0f10d66cec8a2e86932193a3bbda9a77a75f2 (patch) | |
tree | a0af96e8cae2ff06ffa35da93c7a5ce918c11dc8 /usr.sbin | |
parent | 5c7a45bb14d4c568e1872ab0b19ede04edbae848 (diff) | |
download | src-0ec0f10d66cec8a2e86932193a3bbda9a77a75f2.tar.gz src-0ec0f10d66cec8a2e86932193a3bbda9a77a75f2.zip |
Clarify how the -f option for daemon(8) interacts with other options
related to redirecting stdout and stderr.
Notes
Notes:
svn path=/head/; revision=353024
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/daemon/daemon.8 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.sbin/daemon/daemon.8 b/usr.sbin/daemon/daemon.8 index e0f3a0dc11a0..10167a339c0f 100644 --- a/usr.sbin/daemon/daemon.8 +++ b/usr.sbin/daemon/daemon.8 @@ -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. |