From b1d19577a00f16e5e042cf356002fb1f93588752 Mon Sep 17 00:00:00 2001 From: Daniel Walton Date: Wed, 13 Apr 2016 20:54:30 +0000 Subject: [PATCH] 'systemctl restart zebra' was blocking if the BGP ASN changed due to restarting bgpd Signed-off-by: Daniel Walton Reviewed-by: Donald Sharp --- tools/quagga-reload.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/quagga-reload.py b/tools/quagga-reload.py index 7ab59c49f4..428b12e931 100755 --- a/tools/quagga-reload.py +++ b/tools/quagga-reload.py @@ -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']) -- 2.39.5