Import from old repository commit 61ef2b42a9c4ba8e1600f15bb0236765edc2ad45.
[cascardo/ovs.git] / lib / daemon.man
1 .TP
2 \fB-P\fR[\fIpidfile\fR], \fB--pidfile\fR[\fB=\fIpidfile\fR]
3 Causes a file (by default, \fB\*(PN.pid\fR) to be created indicating
4 the PID of the running process.  If \fIpidfile\fR is not specified, or
5 if it does not begin with \fB/\fR, then it is created in
6 \fB@RUNDIR@\fR.
7
8 .TP
9 \fB-f\fR, \fB--force\fR
10 By default, when \fB-P\fR or \fB--pidfile\fR is specified and the
11 specified pidfile already exists and is locked by a running process,
12 \fB\*(PN\fR refuses to start.  Specify \fB-f\fR or \fB--force\fR
13 to cause it to instead overwrite the pidfile.
14
15 When \fB-P\fR or \fB--pidfile\fR is not specified, this option has no
16 effect.
17
18 .TP
19 \fB-D\fR, \fB--detach\fR
20 Causes \fB\*(PN\fR to detach itself from the foreground session and
21 run as a background process.