mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-29 13:38:00 +00:00
Allow longer for Docker to shut down
Docker needs 10s at least for containers to be allowed to shut down, so allow 15s maximum between SIGTERM and SIGKILL. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
62573222c1
commit
05610e7965
@ -94,7 +94,7 @@ stop()
|
||||
# stop docker
|
||||
einfo "Stopping docker"
|
||||
pidfile="/run/docker.pid"
|
||||
start-stop-daemon --stop --quiet --pidfile ${pidfile}
|
||||
start-stop-daemon --stop --quiet --pidfile ${pidfile} --retry 15
|
||||
|
||||
# taken from localmount stop script
|
||||
# XXX fix more cleanly see #35
|
||||
|
Loading…
Reference in New Issue
Block a user