From 1b5a3b4ef4b2c3e20cfe4a71cf38c63279ed42d2 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Fri, 30 Nov 2018 17:10:47 -0600 Subject: supervise-daemon: make respawn-max and respawn-period independent settings --- man/supervise-daemon.8 | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'man') diff --git a/man/supervise-daemon.8 b/man/supervise-daemon.8 index 1bf19de0..789c6867 100644 --- a/man/supervise-daemon.8 +++ b/man/supervise-daemon.8 @@ -107,16 +107,19 @@ Data can be from 0 to 7 inclusive. .It Fl k , -umask Ar mode Set the umask of the daemon. .It Fl m , -respawn-max Ar count -Sets the maximum number of times a daemon will be respawned during a -respawn period. If a daemon dies more than this number of times during a -respawn period, +Sets the maximum number of times a daemon will be respawned. If a daemon +crashes more than this number of times, .Nm -will give up trying to respawn it and exit. The default is 10, and 0 -means unlimited. +will give up and exit. The default is 10 and 0 means unlimited. +.Pp +If respawn-period is also set, more than respawn-max crashes must occur +during respawn-period seconds to cause +.Nm +to give up and exit. .It Fl N , -nicelevel Ar level 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 +Sets the length of a respawn period. 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 -- cgit v1.2.3