Update remaining upstart scripts to wait for lxc-net
Upstream-commit: 3f141e1fd3a11507b049359ea59253b49395d494 Component: engine
This commit is contained in:
@@ -47,7 +47,7 @@ else
|
||||
echo "Creating /etc/init/dockerd.conf..."
|
||||
cat >/etc/init/dockerd.conf <<EOF
|
||||
description "Docker daemon"
|
||||
start on filesystem or runlevel [2345]
|
||||
start on filesystem and started lxc-net
|
||||
stop on runlevel [!2345]
|
||||
respawn
|
||||
exec /usr/local/bin/docker -d
|
||||
|
||||
@@ -52,7 +52,7 @@ private PaaS, service-oriented architectures, etc."
|
||||
|
||||
UPSTART_SCRIPT='description "Docker daemon"
|
||||
|
||||
start on filesystem or runlevel [2345]
|
||||
start on filesystem and started lxc-net
|
||||
stop on runlevel [!2345]
|
||||
|
||||
respawn
|
||||
|
||||
Reference in New Issue
Block a user