aboutsummaryrefslogtreecommitdiff
path: root/man/supervise-daemon.8
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2017-09-06 13:22:30 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2017-09-06 17:22:21 -0500
commit17b5cc78d35dc5fe4904e5951715c3e0d07d6343 (patch)
tree9ec182244e62c715b2115269d538a594ff40f377 /man/supervise-daemon.8
parent36a0ab9054512ade413226fb8e8b28060045e9a4 (diff)
add retry option to supervise-daemon
The --retry option for supervise-daemon defines how the supervisor will attempt to stop the child process it is monitoring. It is defined when the supervisor is started since stopping the supervisor just sends a signal to the active supervisor. This fixes #160.
Diffstat (limited to 'man/supervise-daemon.8')
-rw-r--r--man/supervise-daemon.85
1 files changed, 5 insertions, 0 deletions
diff --git a/man/supervise-daemon.8 b/man/supervise-daemon.8
index 34a4e936..0d34a249 100644
--- a/man/supervise-daemon.8
+++ b/man/supervise-daemon.8
@@ -36,6 +36,8 @@
.Ar pidfile
.Fl P , -respawn-period
.Ar seconds
+.Fl R , -retry
+.Ar arg
.Fl r , -chroot
.Ar chrootpath
.Fl u , -user
@@ -115,6 +117,9 @@ Modifies the scheduling priority of the daemon.
.It Fl P , -respawn-period Ar seconds
Sets the length of a respawn period. The default is 10 seconds. See the
description of --respawn-max for more information.
+.It Fl R , -retry Ar timeout | Ar signal Ns / Ns Ar timeout
+The retry specification can be either a timeout in seconds or multiple
+signal/timeout pairs (like 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.