File tree 1 file changed +4
-7
lines changed
1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -503,9 +503,9 @@ systemctl stop nat
503
503
debug " Stopped nat ..."
504
504
505
505
# Kill radv before stopping BGP service to prevent annoucing our departure.
506
- debug " Stopping radv ..."
507
- docker kill radv & > /dev/null || [ $? == 1 ]
506
+ debug " Stopping radv service..."
508
507
systemctl stop radv
508
+ debug " Stopped radv service..."
509
509
510
510
# Kill bgpd to start the bgp graceful restart procedure
511
511
debug " Stopping bgp ..."
@@ -536,12 +536,9 @@ if [[ "$REBOOT_TYPE" = "fast-reboot" ]]; then
536
536
debug " Stopped teamd ..."
537
537
fi
538
538
539
- # Kill swss Docker container
540
- # We call `docker kill swss` to ensure the container stops as quickly as possible,
541
- # then immediately call `systemctl stop swss` to prevent the service from
542
- # restarting the container automatically.
543
- docker kill swss & > /dev/null || debug " Docker swss is not running ($? ) ..."
539
+ debug " Stopping swss service ..."
544
540
systemctl stop swss
541
+ debug " Stopped swss service ..."
545
542
546
543
# Pre-shutdown syncd
547
544
if [[ " $REBOOT_TYPE " = " warm-reboot" || " $REBOOT_TYPE " = " fastfast-reboot" ]]; then
You can’t perform that action at this time.
0 commit comments