From e18d6958b2470a2e68cc637945ccf3a1dae5c0a2 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 5 May 2025 06:29:50 +0000 Subject: Update examples Signed-off-by: Laurent Bercot --- examples/source/mount-cgroups/up | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 examples/source/mount-cgroups/up (limited to 'examples/source/mount-cgroups/up') diff --git a/examples/source/mount-cgroups/up b/examples/source/mount-cgroups/up deleted file mode 100644 index 033176f..0000000 --- a/examples/source/mount-cgroups/up +++ /dev/null @@ -1,10 +0,0 @@ -if { mkdir -p -m 0755 /sys/fs/cgroup } -if { s6-mount -wt tmpfs cgroup /sys/fs/cgroup } -redirfd -r 0 /proc/cgroups -pipeline { s6-tail -n +2 } -pipeline { s6-cut -d"\t" -f1 } -pipeline { s6-grep -vF -- devices } -forstdin -d"\n" -- i -importas -u i i -if { s6-mkdir /sys/fs/cgroup/${i} } -s6-mount -t cgroup -o ${i} -- cgroup /sys/fs/cgroup/${i} -- cgit v1.3.1