aboutsummaryrefslogtreecommitdiff
path: root/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-05-22 21:56:04 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-05-22 21:56:04 +0000
commit82d0f92ab8b84466ae20ab919c1f9c3577b5cecb (patch)
tree776015ae6c6a386125b2d39e13b62f91b99548f8 /layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base
downloadlh-bootstrap-82d0f92ab8b84466ae20ab919c1f9c3577b5cecb.tar.xz
Initial commit
Diffstat (limited to 'layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base')
-rw-r--r--layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base/dependencies1
-rw-r--r--layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base/down1
-rw-r--r--layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base/type1
-rw-r--r--layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base/up2
4 files changed, 5 insertions, 0 deletions
diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base/dependencies b/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base/dependencies
new file mode 100644
index 0000000..4daddb7
--- /dev/null
+++ b/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base/dependencies
@@ -0,0 +1 @@
+00
diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base/down b/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base/down
new file mode 100644
index 0000000..60450a4
--- /dev/null
+++ b/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base/down
@@ -0,0 +1 @@
+s6-umount /sys/fs/cgroup
diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base/type b/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base/type
@@ -0,0 +1 @@
+oneshot
diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base/up b/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base/up
new file mode 100644
index 0000000..a2f1dd8
--- /dev/null
+++ b/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base/up
@@ -0,0 +1,2 @@
+if { s6-mkdir -p -m 0755 /sys/fs/cgroup }
+s6-mount -wt tmpfs cgroup /sys/fs/cgroup