From 59f4a0d12ce15da78ae0ed3405ac975dcba2d30a Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Wed, 3 Aug 2016 10:55:40 +0200 Subject: [PATCH] MT#8041 debian/init: use signal 9 to stop as suggested by authors Change-Id: Ice65d4fedd55acfa89727af053a3fa771968ad02 (cherry picked from commit 54ce66a9593fcc7768a101b76095994f0ab6d13b) --- debian/ngcp-sems.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/ngcp-sems.init b/debian/ngcp-sems.init index fd8ed347..e401a6ea 100644 --- a/debian/ngcp-sems.init +++ b/debian/ngcp-sems.init @@ -118,13 +118,13 @@ case "$1" in stop) echo -n "Stopping $DESC: $NAME" start-stop-daemon --oknodo --stop --quiet --pidfile $SEMS_PIDFILE \ - --exec $DAEMON + --signal 9 --exec $DAEMON log_end_msg $? ;; restart|force-reload) echo "Restarting $DESC: $NAME" start-stop-daemon --oknodo --stop --quiet --pidfile \ - $SEMS_PIDFILE --exec $DAEMON + $SEMS_PIDFILE --signal 9 --exec $DAEMON if [ -x /usr/sbin/ngcp-check_active ]; then if ! /usr/sbin/ngcp-check_active -q; then echo "Ignored start action in inactive node"