From d441ebe3cf6118a046603d9cb0c8f4622ccb4a4a Mon Sep 17 00:00:00 2001 From: Forza-tng Date: Tue, 26 Dec 2023 15:48:29 +0100 Subject: [PATCH] enable confd cgroups mount options --- conf.d/cgroups | 2 ++ init.d/cgroups.in | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 conf.d/cgroups diff --git a/conf.d/cgroups b/conf.d/cgroups new file mode 100644 index 000000000..ac916b0bd --- /dev/null +++ b/conf.d/cgroups @@ -0,0 +1,2 @@ +# cgroup mount options +#cgroup_opts=nodev,noexec,nosuid diff --git a/init.d/cgroups.in b/init.d/cgroups.in index 218cce7db..a13f08661 100644 --- a/init.d/cgroups.in +++ b/init.d/cgroups.in @@ -11,7 +11,8 @@ description="Mount the control groups." -cgroup_opts=nodev,noexec,nosuid +# default mount options can be overriden in conf.d +: "${cgroup_opts:="nodev,noexec,nosuid"}" depend() {