Clarify how the -f option for daemon(8) interacts with other options
related to redirecting stdout and stderr.
This commit is contained in:
parent
5c7a45bb14
commit
0ec0f10d66
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=353024
@ -63,6 +63,11 @@ Change the current working directory to the root
|
|||||||
.It Fl f
|
.It Fl f
|
||||||
Redirect standard input, standard output and standard error to
|
Redirect standard input, standard output and standard error to
|
||||||
.Pa /dev/null .
|
.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
|
.It Fl S
|
||||||
Enable syslog output.
|
Enable syslog output.
|
||||||
This is implicitly applied if other syslog parameters are provided.
|
This is implicitly applied if other syslog parameters are provided.
|
||||||
|
Loading…
Reference in New Issue
Block a user