summaryrefslogtreecommitdiff
path: root/s6/sv/cgroups/up
blob: 51e424653445e1376af25ef01cd2664c6cda0eb0 (plain)
1
2
3
4
5
6
7
#!/bin/execlineb -P
if { s6-echo "[ Read-Only Mode ] 1/9 : Mounting cgroups" }
envfile /etc/s6/s6.conf
importas -iu CGROUP_MODE CGROUP_MODE
importas -iu CGROUP_CONTROLLERS CGROUP_CONTROLLERS
importas -iu HAVE_CONTROLLER1_GROUPS HAVE_CONTROLLER1_GROUPS
exec sh /etc/s6/scripts/mount-cgroups $CGROUP_MODE $CGROUP_CONTROLLERS $HAVE_CONTROLLER1_GROUPS