Skip to content

Commit

Permalink
Revert "[reboot] stop docker service before rebooting (sonic-net#423)" (
Browse files Browse the repository at this point in the history
sonic-net#434)

This reverts commit 220e269.
  • Loading branch information
yxieca authored Jan 16, 2019
1 parent da3934e commit f7d46ed
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions scripts/reboot
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ function stop_sonic_services()
docker exec -i syncd /usr/bin/syncd_request_shutdown --cold > /dev/null
sleep 3
fi

# Stop docker service to avoid 5-10 minutes delay in shutdown
# while waiting for existing docker containers to quit.
timeout 30s systemctl stop docker
}

function clear_warm_boot()
Expand Down

0 comments on commit f7d46ed

Please sign in to comment.