MT#8041 debian/init: use signal 9 to stop as suggested by authors

Change-Id: Ice65d4fedd55acfa89727af053a3fa771968ad02
(cherry picked from commit 54ce66a959)
mr3.8.6
Victor Seva 10 years ago
parent b5eeafaa4f
commit 50d9dac5a7

@ -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"

Loading…
Cancel
Save