From 4c89e3f5fa1c65ccd0c843f98e4013c2085f243f Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Wed, 10 May 2017 18:01:10 -0500 Subject: supervise-daemon:create multiple options from --respawn-limit This creates --respawn-delay, --respawn-max and --respawn-period. It was suggested that it would be easier to follow if the options were separated. This is for #126. --- sh/supervise-daemon.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sh') diff --git a/sh/supervise-daemon.sh b/sh/supervise-daemon.sh index c6130edb..8add2147 100644 --- a/sh/supervise-daemon.sh +++ b/sh/supervise-daemon.sh @@ -25,7 +25,9 @@ supervise_start() eval supervise-daemon --start \ ${chroot:+--chroot} $chroot \ ${pidfile:+--pidfile} $pidfile \ - ${respawn_limit:+--respawn-limit} $respawn_limit \ + ${respawn_delay:+--respawn-delay} $respawn_delay \ + ${respawn_max:+--respawn-max} $respawn_max \ + ${respawn_period:+--respawn-period} $respawn_period \ ${command_user+--user} $command_user \ $supervise_daemon_args \ $command \ -- cgit v1.2.3