From fb8db18d79b4efc65c2b04a66a8e9e3b56f21f00 Mon Sep 17 00:00:00 2001 From: Christian Ruppert Date: Sat, 31 Dec 2011 02:41:59 +0100 Subject: Add "retry" option for the stop() template --- sh/runscript.sh.in | 1 + 1 file changed, 1 insertion(+) (limited to 'sh') 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 \ -- cgit v1.2.3