summaryrefslogtreecommitdiffstats
path: root/main/docker/docker.init-ulimit-fix.patch
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2014-07-05 15:43:25 +0000
committerEivind Uggedal <eivind@uggedal.com>2014-07-05 15:43:25 +0000
commitac79d34eaeac1538eea80029678e7cee81ee6814 (patch)
tree1545a11e161afb4fb1dc9e50c55224a4d6470d47 /main/docker/docker.init-ulimit-fix.patch
parent7ccb810725e715b8f26af37e328c0f854af718af (diff)
downloadaports-ac79d34eaeac1538eea80029678e7cee81ee6814.tar.bz2
aports-ac79d34eaeac1538eea80029678e7cee81ee6814.tar.xz
main/docker: fix ulimit usage in init script
Diffstat (limited to 'main/docker/docker.init-ulimit-fix.patch')
-rw-r--r--main/docker/docker.init-ulimit-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/docker/docker.init-ulimit-fix.patch b/main/docker/docker.init-ulimit-fix.patch
new file mode 100644
index 000000000..02e5e86e9
--- /dev/null
+++ b/main/docker/docker.init-ulimit-fix.patch
@@ -0,0 +1,11 @@
+index a9d21b17089a..8edfaef6378e 100755
+--- a/contrib/init/openrc/docker.initd.orig
++++ b/contrib/init/openrc/docker.initd
+@@ -12,7 +12,6 @@ start() {
+ checkpath -f -m 0644 -o root:docker "$DOCKER_LOGFILE"
+
+ ulimit -n 1048576
+- ulimit -u 1048576
+
+ ebegin "Starting docker daemon"
+ start-stop-daemon --start --background \