We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb03f6c commit eb27234Copy full SHA for eb27234
scripts/fast-reboot
@@ -424,6 +424,10 @@ if [[ "$REBOOT_TYPE" = "fast-reboot" ]]; then
424
# restarting the container automatically.
425
# Note: teamd must be killed before syncd, because it will send the last packet through CPU port
426
debug "Stopping teamd ..."
427
+ docker exec -i teamd pkill -USR2 teamd || [ $? == 1 ]
428
+ while docker exec -i teamd pgrep teamd > /dev/null; do
429
+ sleep 0.05
430
+ done
431
docker kill teamd > /dev/null
432
systemctl stop teamd
433
debug "Stopped teamd ..."
0 commit comments