]> git.proxmox.com Git - ovs.git/blame - lib/daemon.man
ofproto: Make current packet counts more accurate.
[ovs.git] / lib / daemon.man
CommitLineData
064af421 1.TP
e7bd7d78 2\fB--pidfile\fR[\fB=\fIpidfile\fR]
064af421
BP
3Causes a file (by default, \fB\*(PN.pid\fR) to be created indicating
4the PID of the running process. If \fIpidfile\fR is not specified, or
5if it does not begin with \fB/\fR, then it is created in
6\fB@RUNDIR@\fR.
7
8.TP
e7bd7d78
JP
9\fB--overwrite-pidfile\fR
10By default, when \fB--pidfile\fR is specified and the specified pidfile
11already exists and is locked by a running process, \fB\*(PN\fR refuses
12to start. Specify \fB--overwrite-pidfile\fR to cause it to instead
13overwrite the pidfile.
064af421 14
e7bd7d78 15When \fB--pidfile\fR is not specified, this option has no effect.
064af421
BP
16
17.TP
e7bd7d78 18\fB--detach\fR
064af421
BP
19Causes \fB\*(PN\fR to detach itself from the foreground session and
20run as a background process.
91a1e24d
JP
21
22.TP
23\fB--no-chdir\fR
e7bd7d78 24By default, when \fB--detach\fR is specified, \fB\*(PN\fR
91a1e24d
JP
25changes its current working directory to the root directory after it
26detaches. Otherwise, invoking \fB\*(PN\fR from a carelessly chosen
27directory would prevent the administrator from unmounting the file
28system that holds that directory.
29.IP
30Specifying \fB--no-chdir\fR suppresses this behavior, preventing
31\fB\*(PN\fR from changing its current working directory. This may be
32useful for collecting core files, since it is common behavior to write
33core dumps into the current working directory and the root directory
34is not a good directory to use.
35.IP
e7bd7d78 36This option has no effect when \fB--detach\fR is not specified.