mirror of
https://github.com/clearlinux/docker.git
synced 2026-08-21 21:35:51 +00:00
fix the upstart script generated by get.docker.io (it was not starting dockerd on boot)
This commit is contained in:
+7
-1
@@ -45,7 +45,13 @@ then
|
||||
echo "Upstart script already exists."
|
||||
else
|
||||
echo "Creating /etc/init/dockerd.conf..."
|
||||
echo "exec env LANG=\"en_US.UTF-8\" /usr/local/bin/docker -d" > /etc/init/dockerd.conf
|
||||
cat >/etc/init/dockerd.conf <<EOF
|
||||
description "Docker daemon"
|
||||
start on filesystem or runlevel [2345]
|
||||
stop on runlevel [!2345]
|
||||
respawn
|
||||
exec env LANG="en_US.UTF-8" /usr/local/bin/docker -d
|
||||
EOF
|
||||
fi
|
||||
|
||||
echo "Starting dockerd..."
|
||||
|
||||
Reference in New Issue
Block a user