diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2011-12-31 02:41:59 +0100 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2011-12-31 02:41:59 +0100 |
commit | fb8db18d79b4efc65c2b04a66a8e9e3b56f21f00 (patch) | |
tree | 0d24276822e7a05158d2462fe1a856afba285591 /sh/runscript.sh.in | |
parent | 6d5a2d5f9e5c1e3cb4c24dfc0c2ed2c118d8e64c (diff) |
Add "retry" option for the stop() template
Diffstat (limited to 'sh/runscript.sh.in')
-rw-r--r-- | sh/runscript.sh.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sh/runscript.sh.in b/sh/runscript.sh.in index b738b890..470f04c6 100644 --- a/sh/runscript.sh.in +++ b/sh/runscript.sh.in @@ -151,6 +151,7 @@ stop() [ -n "$command" -o -n "$procname" -o -n "$pidfile" ] || return 0 ebegin "Stopping ${name:-$RC_SVCNAME}" start-stop-daemon --stop \ + ${retry:+--retry} $retry \ ${command:+--exec} $command \ ${procname:+--name} $procname \ ${pidfile:+--pidfile} $pidfile \ |