1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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

Is probably more solid
This commit is contained in:
Jonas Pfenniger 2013-07-15 11:41:19 +01:00
parent 24dd50490a
commit 0900d3b7a6

View file

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