From b9d9b73d586fb2bd705d035634a004f742bd5240 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Wed, 22 Jul 2015 12:35:36 -0700 Subject: [PATCH] quagga-fix-stop-vty.patch When stopping quagga, we do not wait for quagga to finish shutting down before we start attempting to delete the sockets for the various protocols. --- debian/quagga.init.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/quagga.init.d b/debian/quagga.init.d index dbf71ce88..939dc5a8e 100755 --- a/debian/quagga.init.d +++ b/debian/quagga.init.d @@ -153,7 +153,7 @@ stop() else PIDFILE=`pidfile $inst` PID=`cat $PIDFILE 2>/dev/null` - start-stop-daemon --stop --quiet --oknodo --pidfile "$PIDFILE" --exec "$D_PATH/$1" + start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --oknodo --pidfile "$PIDFILE" --exec "$D_PATH/$1" # # Now we have to wait until $DAEMON has _really_ stopped. # -- 2.39.5