Skip to content

Commit

Permalink
enable confd cgroups mount options
Browse files Browse the repository at this point in the history
  • Loading branch information
Forza-tng committed Dec 26, 2023
1 parent 439cce4 commit d441ebe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions conf.d/cgroups
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# cgroup mount options
#cgroup_opts=nodev,noexec,nosuid
3 changes: 2 additions & 1 deletion init.d/cgroups.in
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down

0 comments on commit d441ebe

Please sign in to comment.