From 17b5cc78d35dc5fe4904e5951715c3e0d07d6343 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Wed, 6 Sep 2017 13:22:30 -0500 Subject: 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. --- man/supervise-daemon.8 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'man') 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. -- cgit v1.2.3