| 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
| |
| | |
| These facilities are accepted: auth, authpriv, console, cron, daemon, ftp, kern, lpr, mail, news, ntp, security, syslog, user, uucp, and local facilities from local0 to local7. The default is daemon. | |
| | |
| 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. | |
| | |
|
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
| |
| | |
|
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
| |
| | |
|
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
| |
| | |
| Supervise and restart the program after the specified delay if it has been terminated. | |
| | |
| Supervise and restart the program after a one-second delay if it has been terminated. | |
| | |
| 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. | |
| | |
| These priorities are accepted: emerg, alert, crit, err, warning, notice, info, and debug. The default is notice. | |
| | |
| Set the tag which is appended to all syslog messages. The default is daemon. | |
| | |
| Set the title for the daemon process. The default is the daemonized invocation. | |
| | |
| Login name of the user to execute the program under. Environment variables HOME, USER, and SHELL are set accordingly. Requires adequate superuser privileges. | |
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 18, 2023 |
| Main index | Section 8 | 日本語 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | VI = Virtually Incomprehensible. | ” |