]> git.puffer.fish Git - matthieu/frr.git/commitdiff
'systemctl restart zebra' was blocking if the BGP ASN changed due to
authorDaniel Walton <dwalton@cumulusnetworks.com>
Wed, 13 Apr 2016 20:54:30 +0000 (20:54 +0000)
committerDaniel Walton <dwalton@cumulusnetworks.com>
Wed, 13 Apr 2016 20:54:30 +0000 (20:54 +0000)
restarting bgpd

Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
tools/quagga-reload.py

index 7ab59c49f48bd629143e6601769228517cf0aff4..428b12e931b8fa59f9c350fdad1396fd7c360839 100755 (executable)
@@ -707,4 +707,5 @@ if __name__ == '__main__':
                     os.unlink(filename)
 
             if restart_bgp:
-                subprocess.call(['sudo', 'systemctl', 'restart', 'bgpd'])
+                subprocess.call(['sudo', 'systemctl', 'reset-failed', 'bgpd'])
+                subprocess.call(['sudo', 'systemctl', '--no-block', 'restart', 'bgpd'])