From: Donald Sharp Date: Wed, 22 Jul 2015 19:35:36 +0000 (-0700) Subject: quagga-fix-stop-vty.patch X-Git-Tag: frr-2.0-rc1~1312 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=b9d9b73d586fb2bd705d035634a004f742bd5240;p=matthieu%2Ffrr.git 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. --- diff --git a/debian/quagga.init.d b/debian/quagga.init.d index dbf71ce885..939dc5a8ea 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. #