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. --- sh/supervise-daemon.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'sh/supervise-daemon.sh') diff --git a/sh/supervise-daemon.sh b/sh/supervise-daemon.sh index 8add2147..1c1b840d 100644 --- a/sh/supervise-daemon.sh +++ b/sh/supervise-daemon.sh @@ -23,6 +23,7 @@ supervise_start() # command_args="this \"is a\" test" # to work properly. eval supervise-daemon --start \ + ${retry:+--retry} $retry \ ${chroot:+--chroot} $chroot \ ${pidfile:+--pidfile} $pidfile \ ${respawn_delay:+--respawn-delay} $respawn_delay \ -- cgit v1.2.3