summaryrefslogtreecommitdiff
path: root/lib/daemon.man
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@nicira.com>2009-08-05 14:20:24 -0700
committerJustin Pettit <jpettit@nicira.com>2009-08-06 18:04:36 -0700
commite7bd7d78b1e1dbc2162f991374c7889c7d7bf60c (patch)
tree3b0953d2dc163d7344427b5f223f73c86c15eeed /lib/daemon.man
parent8093d640ac758c062515b2819e633dd4e19c516a (diff)
downloadopenvswitch-e7bd7d78b1e1dbc2162f991374c7889c7d7bf60c.tar.gz
daemon: Remove short options from daemon library
The daemon library provides a few short options, but these then take away their availability from programs that wish to use the library. Since the daemon options are generally going to be called from a script (which doesn't care how much typing is involved), we'll only provide long options.
Diffstat (limited to 'lib/daemon.man')
-rw-r--r--lib/daemon.man22
1 files changed, 10 insertions, 12 deletions
diff --git a/lib/daemon.man b/lib/daemon.man
index cc1a2b569..ea0561daf 100644
--- a/lib/daemon.man
+++ b/lib/daemon.man
@@ -1,28 +1,27 @@
.TP
-\fB-P\fR[\fIpidfile\fR], \fB--pidfile\fR[\fB=\fIpidfile\fR]
+\fB--pidfile\fR[\fB=\fIpidfile\fR]
Causes a file (by default, \fB\*(PN.pid\fR) to be created indicating
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,
-\fB\*(PN\fR refuses to start. Specify \fB-f\fR or \fB--force\fR
-to cause it to instead overwrite the pidfile.
+\fB--overwrite-pidfile\fR
+By default, when \fB--pidfile\fR is specified and the specified pidfile
+already exists and is locked by a running process, \fB\*(PN\fR refuses
+to start. Specify \fB--overwrite-pidfile\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.
+When \fB--pidfile\fR is not specified, this option has no effect.
.TP
-\fB-D\fR, \fB--detach\fR
+\fB--detach\fR
Causes \fB\*(PN\fR to detach itself from the foreground session and
run as a background process.
.TP
\fB--no-chdir\fR
-By default, when \fB-D\fR or \fB--detach\fR is specified, \fB\*(PN\fR
+By default, when \fB--detach\fR is specified, \fB\*(PN\fR
changes its current working directory to the root directory after it
detaches. Otherwise, invoking \fB\*(PN\fR from a carelessly chosen
directory would prevent the administrator from unmounting the file
@@ -34,5 +33,4 @@ useful for collecting core files, since it is common behavior to write
core dumps into the current working directory and the root directory
is not a good directory to use.
.IP
-This option has no effect when neither \fB-D\fR nor \fB--detach\fR is
-specified.
+This option has no effect when \fB--detach\fR is not specified.