]> git.proxmox.com Git - mirror_frr.git/commitdiff
quagga-fix-stop-vty.patch
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 22 Jul 2015 19:35:36 +0000 (12:35 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 22 Jul 2015 19:35:36 +0000 (12:35 -0700)
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

index dbf71ce885cf42408b1d7a566920c07d6c250caf..939dc5a8ea7c8d56d7518bc476c7027e4529dd3c 100755 (executable)
@@ -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.
         #