diff options
-rw-r--r-- | conf.d/cgroups | 2 | ||||
-rw-r--r-- | init.d/cgroups.in | 2 |
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() { |