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
commit 7d68afb2d2
1 changed files with 4 additions and 5 deletions

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