debian-systemd-unit-environment-file
authorDmitry Smirnov <onlyjob@debian.org>
Sat, 22 Jun 2019 17:25:10 +0000 (18:25 +0100)
committerShengjing Zhu <zhsj@debian.org>
Sat, 22 Jun 2019 17:25:10 +0000 (18:25 +0100)
Gbp-Pq: Name debian-systemd-unit-environment-file.patch

engine/contrib/init/systemd/docker.service

index dd285b91895c976bf5e669a7b6483db278182fae..0d7b447201ea5978cf14aa67d7cfb5d4cfc01961 100644 (file)
@@ -10,7 +10,8 @@ Type=notify
 # the default is not to use systemd for cgroups because the delegate issues still
 # exists and systemd currently does not support the cgroup feature set required
 # for containers run by docker
-ExecStart=/usr/bin/dockerd -H fd://
+EnvironmentFile=-/etc/default/docker
+ExecStart=/usr/bin/dockerd -H fd:// $DOCKER_OPTS
 ExecReload=/bin/kill -s HUP $MAINPID
 LimitNOFILE=1048576
 # Having non-zero Limit*s causes performance problems due to accounting overhead