diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2017-05-10 18:01:10 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2017-05-10 18:13:23 -0500 |
commit | 4c89e3f5fa1c65ccd0c843f98e4013c2085f243f (patch) | |
tree | c0a16e895203b2eb18dd6b1524a3356d753eea01 /sh | |
parent | 3673040722b75c0a4d06fbeb272f917c7d1ea7c4 (diff) |
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.
Diffstat (limited to 'sh')
-rw-r--r-- | sh/supervise-daemon.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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 \ |