Skip to content

Commit c395e14

Browse files
authored
Modify fast-reboot script to use BGP service script to stop bgp service (sonic-net#1177)
1 parent c382d89 commit c395e14

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/fast-reboot

+1-2
Original file line numberDiff line numberDiff line change
@@ -509,8 +509,7 @@ debug "Stopped radv service..."
509509
510510
# Kill bgpd to start the bgp graceful restart procedure
511511
debug "Stopping bgp ..."
512-
docker exec -i bgp pkill -9 zebra
513-
docker exec -i bgp pkill -9 bgpd || [ $? == 1 ]
512+
systemctl stop bgp
514513
debug "Stopped bgp ..."
515514
516515
# Kill lldp, otherwise it sends informotion about reboot.

0 commit comments

Comments
 (0)