Add "retry" option for the stop() template

This commit is contained in:
Christian Ruppert
2011-12-31 02:41:59 +01:00
parent 6d5a2d5f9e
commit fb8db18d79
2 changed files with 5 additions and 1 deletions

View File

@@ -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 \