From 824bb3aee3940c1b0b36effaf8a8434039fdc44b Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 27 Apr 2009 13:32:13 +0000 Subject: Allow templates to define a stop signal --- sh/runscript.sh.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sh/runscript.sh.in b/sh/runscript.sh.in index 8ed84d8..abdaacb 100644 --- a/sh/runscript.sh.in +++ b/sh/runscript.sh.in @@ -106,7 +106,8 @@ stop() start-stop-daemon --stop \ ${command:+--exec} $command \ ${procname:+--name} $procname \ - ${pidfile:+--pidfile} $pidfile + ${pidfile:+--pidfile} $pidfile \ + ${stopsig:+--signal} $stopsig eend $? "Failed to stop $RC_SVCNAME" } -- cgit v1.2.3