Cgroups: activate the openrc control group release agent
This commit is contained in:
parent
ce4c9b5397
commit
cacea4e7f3
@ -84,6 +84,7 @@ mount_cgroups()
|
|||||||
mount -t cgroup \
|
mount -t cgroup \
|
||||||
-o none,nodev,noexec,nosuid,name=openrc,release_agent="$agent" \
|
-o none,nodev,noexec,nosuid,name=openrc,release_agent="$agent" \
|
||||||
openrc /sys/fs/cgroup/openrc
|
openrc /sys/fs/cgroup/openrc
|
||||||
|
echo 1 > /sys/fs/cgroup/openrc/notify_on_release
|
||||||
while read name hier groups enabled rest; do
|
while read name hier groups enabled rest; do
|
||||||
case "${enabled}" in
|
case "${enabled}" in
|
||||||
1) mkdir /sys/fs/cgroup/${name}
|
1) mkdir /sys/fs/cgroup/${name}
|
||||||
|
Loading…
Reference in New Issue
Block a user