summaryrefslogtreecommitdiff
path: root/app-emulation/docker/files/docker-1.7.1-service-patch.patch
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2016-04-02 12:17:01 +0300
committerBlackNoxis <steven.darklight@gmail.com>2016-04-02 12:17:01 +0300
commit3c1016376d4761ecca61e5d4c43bbd3e4ba180bc (patch)
tree0e6966b6a2922aea7b28c506d79345aa3923968c /app-emulation/docker/files/docker-1.7.1-service-patch.patch
parent9a2f8110322c3c3b3beb6e16f1d5253da1f53e89 (diff)
[docker] added docker to the repo. included support for our binary kernel and systemd
Diffstat (limited to 'app-emulation/docker/files/docker-1.7.1-service-patch.patch')
-rw-r--r--app-emulation/docker/files/docker-1.7.1-service-patch.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-emulation/docker/files/docker-1.7.1-service-patch.patch b/app-emulation/docker/files/docker-1.7.1-service-patch.patch
new file mode 100644
index 00000000..10f1002c
--- /dev/null
+++ b/app-emulation/docker/files/docker-1.7.1-service-patch.patch
@@ -0,0 +1,12 @@
+--- docker-1.7.1/contrib/init/systemd/docker.service.orig 2015-07-14 21:41:25.000000000 +0300
++++ docker-1.7.1/contrib/init/systemd/docker.service 2016-03-31 23:38:11.461808109 +0300
+@@ -5,7 +5,8 @@
+ Requires=docker.socket
+
+ [Service]
+-ExecStart=/usr/bin/docker -d -H fd://
++EnvironmentFile=/etc/default/docker
++ExecStart=/usr/bin/docker -d $DOCKER_OPTS -H fd://
+ MountFlags=slave
+ LimitNOFILE=1048576
+ LimitNPROC=1048576