aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2018-11-15 14:15:06 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2018-11-15 14:15:15 -0600
commit0f704402a236d385e8b30083ccf9aca327c0a57e (patch)
treecab8560446f56497eb22946ce006b5a072ba8d5e /man
parent2504a2c25bc0587b36d81a2d85c203b20e2d40cf (diff)
supervise-daemon: make the pidfile an implementation detail
The pidfile of the supervisor doesn't need to be adjustable by the service script. It is only used so the supervisor can stop itself when the --stop option is used.
Diffstat (limited to 'man')
-rw-r--r--man/supervise-daemon.817
1 files changed, 1 insertions, 16 deletions
diff --git a/man/supervise-daemon.8 b/man/supervise-daemon.8
index 8bcd8b5c..0da1c5ac 100644
--- a/man/supervise-daemon.8
+++ b/man/supervise-daemon.8
@@ -36,8 +36,6 @@
.Ar count
.Fl N , -nicelevel
.Ar level
-.Fl p , -pidfile
-.Ar pidfile
.Fl P , -respawn-period
.Ar seconds
.Fl R , -retry
@@ -57,8 +55,6 @@
.Nm
.Fl K , -stop
.Ar daemon
-.Fl p , -pidfile
-.Ar pidfile
.Fl r , -chroot
.Ar chrootpath
.Sh DESCRIPTION
@@ -76,12 +72,6 @@ should not be the one the daemon writes.
.Pp
Here are the options to specify the daemon and how it should start or stop:
.Bl -tag -width indent
-.It Fl p , -pidfile Ar pidfile
-When starting, we write a
-.Ar pidfile
-so we know which supervisor to stop. When stopping we only stop the pid(s)
-listed in the
-.Ar pidfile .
.It Fl u , -user Ar user Ns Op : Ns Ar group
Start the daemon as the
.Ar user
@@ -132,7 +122,7 @@ signal/timeout pairs (like SIGTERM/5).
If this option is not given, the default is SIGTERM/5.
.It Fl r , -chroot Ar path
chroot to this directory before starting the daemon. All other paths, such
-as the path to the daemon, chdir and pidfile, should be relative to the chroot.
+as the path to the daemon and chdir should be relative to the chroot.
.It Fl u , -user Ar user
Start the daemon as the specified user.
.It Fl 1 , -stdout Ar logfile
@@ -145,7 +135,6 @@ The same thing as
.Fl 1 , -stdout
but with the standard error output.
.El
-.El
.Sh ENVIRONMENT
.Va SSD_NICELEVEL
can also set the scheduling priority of the daemon, but the command line
@@ -172,10 +161,6 @@ seconds.
.Xr chroot 2 ,
.Xr getopt 3 ,
.Xr nice 2 ,
-.Xr rc_find_pids 3
-.Sh BUGS
-.Nm
-cannot stop an interpreted daemon that no longer exists without a pidfile.
.Sh HISTORY
.Nm
first appeared in Debian.