From: Dmitry Smirnov Date: Sun, 16 Sep 2018 03:21:33 +0000 (+0100) Subject: change-system-unit-env-file X-Git-Tag: archive/raspbian/18.09.1+dfsg1-7+rpi1~1^2~16 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=afd313125ccfc1cb0f6a4f04dff80071206a3cf0;p=docker.io.git change-system-unit-env-file Gbp-Pq: Name change-system-unit-env-file.patch --- diff --git a/engine/contrib/init/systemd/docker.service b/engine/contrib/init/systemd/docker.service index dd285b91..0d7b4472 100644 --- a/engine/contrib/init/systemd/docker.service +++ b/engine/contrib/init/systemd/docker.service @@ -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