]> git.proxmox.com Git - mirror_ovs.git/blame - lib/daemon.man
dpif-netdev: Store actions data and size contiguously.
[mirror_ovs.git] / lib / daemon.man
CommitLineData
fda546bd 1The following options are valid on POSIX based platforms.
064af421 2.TP
86f2fa59 3\fB\-\-pidfile\fR[\fB=\fIpidfile\fR]
064af421 4Causes a file (by default, \fB\*(PN.pid\fR) to be created indicating
86f2fa59
BP
5the PID of the running process. If the \fIpidfile\fR argument is not
6specified, or
064af421
BP
7if it does not begin with \fB/\fR, then it is created in
8\fB@RUNDIR@\fR.
86f2fa59 9.IP
4e312e69 10If \fB\-\-pidfile\fR is not specified, no pidfile is created.
a9b4a41a 11.
064af421 12.TP
4e312e69
BP
13\fB\-\-overwrite\-pidfile\fR
14By default, when \fB\-\-pidfile\fR is specified and the specified pidfile
e7bd7d78 15already exists and is locked by a running process, \fB\*(PN\fR refuses
4e312e69 16to start. Specify \fB\-\-overwrite\-pidfile\fR to cause it to instead
e7bd7d78 17overwrite the pidfile.
a9b4a41a 18.IP
4e312e69 19When \fB\-\-pidfile\fR is not specified, this option has no effect.
a9b4a41a 20.
064af421 21.TP
4e312e69 22\fB\-\-detach\fR
064af421 23Causes \fB\*(PN\fR to detach itself from the foreground session and
a7ff9bd7 24run as a background process. \*(DD
a9b4a41a 25.
ff8decf1 26.TP
4e312e69 27\fB\-\-monitor\fR
ff8decf1
BP
28Creates an additional process to monitor the \fB\*(PN\fR daemon. If
29the daemon dies due to a signal that indicates a programming error
f67c3295
BP
30(\fBSIGABRT\fR, \fBSIGALRM\fR, \fBSIGBUS\fR, \fBSIGFPE\fR,
31\fBSIGILL\fR, \fBSIGPIPE\fR, \fBSIGSEGV\fR, \fBSIGXCPU\fR, or
32\fBSIGXFSZ\fR) then the monitor process starts a new copy of it. If
33the daemon dies or exits for another reason, the monitor process exits.
ff8decf1 34.IP
4e312e69 35This option is normally used with \fB\-\-detach\fR, but it also
ff8decf1 36functions without it.
a9b4a41a 37.
91a1e24d 38.TP
4e312e69
BP
39\fB\-\-no\-chdir\fR
40By default, when \fB\-\-detach\fR is specified, \fB\*(PN\fR
91a1e24d
JP
41changes its current working directory to the root directory after it
42detaches. Otherwise, invoking \fB\*(PN\fR from a carelessly chosen
43directory would prevent the administrator from unmounting the file
44system that holds that directory.
45.IP
4e312e69 46Specifying \fB\-\-no\-chdir\fR suppresses this behavior, preventing
91a1e24d
JP
47\fB\*(PN\fR from changing its current working directory. This may be
48useful for collecting core files, since it is common behavior to write
49core dumps into the current working directory and the root directory
50is not a good directory to use.
51.IP
4e312e69 52This option has no effect when \fB\-\-detach\fR is not specified.