docker.upstart: use the same start/stop events as sshd

Is probably more solid
Upstream-commit: 0900d3b7a6e94bfa42e3d4ac6dc6f5542f65a9b0
Component: engine
This commit is contained in:
Jonas Pfenniger
2013-07-15 11:41:19 +01:00
parent 4b7018962a
commit 632014a7bf

View File

@ -1,7 +1,8 @@
description "Run docker"
start on runlevel [2345]
stop on starting rc RUNLEVEL=[016]
start on filesystem or runlevel [2345]
stop on runlevel [!2345]
respawn
exec /usr/bin/docker -d