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:
parent
24dd50490a
commit
0900d3b7a6
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue