aboutsummaryrefslogtreecommitdiffstats
path: root/community/docker/docker-openrc-busybox-ash.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/docker/docker-openrc-busybox-ash.patch')
-rw-r--r--community/docker/docker-openrc-busybox-ash.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/community/docker/docker-openrc-busybox-ash.patch b/community/docker/docker-openrc-busybox-ash.patch
index 57ff7ed921..1f2b2de3d1 100644
--- a/community/docker/docker-openrc-busybox-ash.patch
+++ b/community/docker/docker-openrc-busybox-ash.patch
@@ -1,11 +1,11 @@
--- a/contrib/init/openrc/docker.initd
+++ b/contrib/init/openrc/docker.initd
-@@ -16,7 +16,7 @@
+@@ -13,7 +13,7 @@
- # Having non-zero limits causes performance problems due to accounting overhead
- # in the kernel. We recommend using cgroups to do container-local accounting.
-- ulimit -u unlimited
-+ ulimit -p unlimited
+ extra_started_commands="reload"
+
+-rc_ulimit="${DOCKER_ULIMIT:--c unlimited -n 1048576 -u unlimited}"
++rc_ulimit="${DOCKER_ULIMIT:--c unlimited -n 1048576 -p unlimited}"
+
+ retry="${DOCKER_RETRY:-TERM/60/KILL/10}"
- return 0
- }