aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorForza-tng <forza@tnonline.net>2023-12-26 15:48:29 +0100
committerWilliam Hubbs <w.d.hubbs@gmail.com>2024-01-12 11:17:14 -0600
commitf9c92d78221e7827b4a6144d0c2e2b4d3de99416 (patch)
treed66856cf78a5af5caeeef6fc5f4bd8f227d1c636
parent97689d6c4478cd3a388402cb4d3a2db82b99cc78 (diff)
enable confd cgroups mount options
This fixes #684.
-rw-r--r--conf.d/cgroups2
-rw-r--r--init.d/cgroups.in2
2 files changed, 3 insertions, 1 deletions
diff --git a/conf.d/cgroups b/conf.d/cgroups
new file mode 100644
index 00000000..680c5ca9
--- /dev/null
+++ b/conf.d/cgroups
@@ -0,0 +1,2 @@
+# override cgroup mount options
+#cgroup_opts=nodev,noexec,nosuid
diff --git a/init.d/cgroups.in b/init.d/cgroups.in
index 218cce7d..ac1f5cc8 100644
--- a/init.d/cgroups.in
+++ b/init.d/cgroups.in
@@ -11,7 +11,7 @@
description="Mount the control groups."
-cgroup_opts=nodev,noexec,nosuid
+: "${cgroup_opts:="nodev,noexec,nosuid"}"
depend()
{