Make -P or --pidfile keep programs from running if already running.
[openvswitch] / switch / switch.8.in
index 1bd0607a8c6fb1c530f17d5f91759fd3e5115e55..dfa114adfaa2495c319648d273a772b684c1cb55 100644 (file)
@@ -91,6 +91,16 @@ the PID of the running process.  If \fIpidfile\fR is not specified, or
 if it does not begin with \fB/\fR, then it is created in
 \fB@rundir@\fR.
 
+.TP
+\fB-f\fR, \fB--force\fR
+By default, when \fB-P\fR or \fB--pidfile\fR is specified and the
+specified pidfile already exists and is locked by a running process,
+\fBswitch\fR refuses to start.  Specify \fB-f\fR or \fB--force\fR
+to cause it to instead overwrite the pidfile.
+
+When \fB-P\fR or \fB--pidfile\fR is not specified, this option has no
+effect.
+
 .TP
 \fB-D\fR, \fB--detach\fR
 Causes \fBswitch\fR to detach itself from the foreground session and