Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/daemon/daemon.8
Show All 28 Lines | |||||
.Dd November 9, 2018 | .Dd November 9, 2018 | ||||
.Dt DAEMON 8 | .Dt DAEMON 8 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm daemon | .Nm daemon | ||||
.Nd run detached from the controlling terminal | .Nd run detached from the controlling terminal | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm | .Nm | ||||
.Op Fl cfrS | .Op Fl cfirS | ||||
.Op Fl p Ar child_pidfile | .Op Fl p Ar child_pidfile | ||||
.Op Fl P Ar supervisor_pidfile | .Op Fl P Ar supervisor_pidfile | ||||
.Op Fl t Ar title | .Op Fl t Ar title | ||||
.Op Fl u Ar user | .Op Fl u Ar user | ||||
.Op Fl m Ar output_mask | .Op Fl m Ar output_mask | ||||
.Op Fl o Ar output_file | .Op Fl o Ar output_file | ||||
.Op Fl s Ar syslog_priority | .Op Fl s Ar syslog_priority | ||||
.Op Fl T Ar syslog_tag | .Op Fl T Ar syslog_tag | ||||
Show All 12 Lines | |||||
The options are as follows: | The options are as follows: | ||||
.Bl -tag -width indent | .Bl -tag -width indent | ||||
.It Fl c | .It Fl c | ||||
Change the current working directory to the root | Change the current working directory to the root | ||||
.Pq Dq Pa / . | .Pq Dq Pa / . | ||||
.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 . | ||||
.It Fl i | |||||
Create pid files with 0644 mode instead of default 0600. | |||||
0mp: It looks like we refer to PID files as `pidfiles` later in the manual. We might want to stick… | |||||
.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. | ||||
The default values are daemon, notice, and daemon for facility, priority, and | The default values are daemon, notice, and daemon for facility, priority, and | ||||
tag, respectively. | tag, respectively. | ||||
.It Fl o Ar output_file | .It Fl o Ar output_file | ||||
Append output from the daemonized process to | Append output from the daemonized process to | ||||
.Pa output_file . | .Pa output_file . | ||||
▲ Show 20 Lines • Show All 154 Lines • Show Last 20 Lines |
It looks like we refer to PID files as pidfiles later in the manual. We might want to stick to pidfiles for consistency.