Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/daemon/daemon.8
Show All 38 Lines | |||||
.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 | ||||
.Op Fl l Ar syslog_facility | .Op Fl l Ar syslog_facility | ||||
.Op Fl M Ar umask | |||||
.Op Fl R Ar restart_delay_seconds | .Op Fl R Ar restart_delay_seconds | ||||
.Ar command arguments ... | .Ar command arguments ... | ||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
The | The | ||||
.Nm | .Nm | ||||
utility detaches itself from the controlling terminal and | utility detaches itself from the controlling terminal and | ||||
executes the program specified by its arguments. | executes the program specified by its arguments. | ||||
Privileges may be lowered to the specified user. | Privileges may be lowered to the specified user. | ||||
▲ Show 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | |||||
owner is the user who runs the | owner is the user who runs the | ||||
.Nm | .Nm | ||||
regardless of whether the | regardless of whether the | ||||
.Fl u | .Fl u | ||||
option is used or not. | option is used or not. | ||||
.It Fl r | .It Fl r | ||||
Supervise and restart the program after a one-second delay if it has | Supervise and restart the program after a one-second delay if it has | ||||
been terminated. | been terminated. | ||||
.It Fl M Ar umask | |||||
Set umask (as octal) before starting child process. | |||||
.It Fl R Ar restart_delay_seconds | .It Fl R Ar restart_delay_seconds | ||||
Supervise and restart the program after the specified delay | Supervise and restart the program after the specified delay | ||||
if it has been terminated. | if it has been terminated. | ||||
.It Fl t Ar title | .It Fl t Ar title | ||||
Set the title for the daemon process. | Set the title for the daemon process. | ||||
The default is the daemonized invocation. | The default is the daemonized invocation. | ||||
.It Fl u Ar user | .It Fl u Ar user | ||||
Login name of the user to execute the program under. | Login name of the user to execute the program under. | ||||
▲ Show 20 Lines • Show All 100 Lines • Show Last 20 Lines |