Merge pull request #1209 from zimbatm/upstart-improvements

Upstart improvements
This commit is contained in:
Daniel Mizyrycki
2013-07-29 18:28:40 -07:00
+4 -5
View File
@@ -1,9 +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
script
/usr/bin/docker -d
end script
exec /usr/bin/docker -d