From f9c92d78221e7827b4a6144d0c2e2b4d3de99416 Mon Sep 17 00:00:00 2001 From: Forza-tng Date: Tue, 26 Dec 2023 15:48:29 +0100 Subject: enable confd cgroups mount options This fixes #684. --- conf.d/cgroups | 2 ++ init.d/cgroups.in | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 conf.d/cgroups 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() { -- cgit v1.2.3