aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh')
-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 8ed84d89..abdaacb9 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"
}