Main index | Section 8 | 日本語 | Options |
The options are as follows:
| |
Change the current working directory to the root (" /"). | |
| |
Redirect standard input, standard output and standard error to /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 /dev/null, then stdout and/or stderr is redirected to a file or to syslog as specified by the other options. | |
| |
Close output_file and re-open it when signal SIGHUP is received, for interoperability with newsyslog(1) and similar log rotation / archival mechanisms. If o is not specified, this flag is ignored. | |
| |
Enable syslog output. This is implicitly applied if other syslog parameters are provided. The default values are daemon, notice, and daemon for facility, priority, and tag, respectively. | |
| |
Append output from the daemonized process to
output_file.
If the file does not exist, it is created with permissions 0600.
When this option is used together with options
| |
| |
Redirect output from the child process stdout (1), stderr (2), or both (3). This value specifies what is sent to syslog and the log file. The default is 3. | |
| |
Write the ID of the created process into the
child_pidfile
using the
pidfile(3)
functionality.
The program is executed in a spawned child process while the
daemon
waits until it terminates to keep the
child_pidfile
locked and removes it after the process exits.
The
child_pidfile
owner is the user who runs the
daemon
regardless of whether the
| |
| |
Write the ID of the
daemon
process into the
supervisor_pidfile
using the
pidfile(3)
functionality.
The program is executed in a spawned child process while the
daemon
waits until it terminates to keep the
supervisor_pidfile
locked and removes it after the process exits.
The
supervisor_pidfile
owner is the user who runs the
daemon
regardless of whether the
| |
| |
Supervise and restart the program after a one-second delay if it has been terminated. | |
| |
Supervise and restart the program after the specified delay if it has been terminated. | |
| |
Set the title for the daemon process. The default is the daemonized invocation. | |
| |
Login name of the user to execute the program under. Requires adequate superuser privileges. | |
| |
These priorities are accepted: emerg, alert, crit, err, warning, notice, info, and debug. The default is notice. | |
| |
These facilities are accepted: auth, authpriv, console, cron, daemon, ftp, kern, lpr, mail, news, ntp, security, syslog, user, uucp, and local0, ..., local7. The default is daemon. | |
| |
Set the tag which is appended to all syslog messages. The default is daemon. | |
If any of the options
If neither file or syslog output are selected, all output is redirected to the
daemon
process and written to stdout.
The
The
DAEMON (8) | September 22, 2020 |
Main index | Section 8 | 日本語 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | The number of UNIX installations has grown to 10, with more expected. | ” |
— UNIX Programming Manual, 1972 |