summaryrefslogtreecommitdiff
path: root/sh/runscript.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'sh/runscript.sh.in')
-rw-r--r--sh/runscript.sh.in3
1 files changed, 2 insertions, 1 deletions
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"
}