diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-05-05 06:29:50 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2025-05-05 06:29:50 +0000 |
| commit | e18d6958b2470a2e68cc637945ccf3a1dae5c0a2 (patch) | |
| tree | 90e065e7b7422c2f2dbd5d924dfcd14a2866de39 /examples/source/mount-cgroups/up | |
| parent | 09ccd3128f2296d3a0cd1602e64caf06cf22c64f (diff) | |
| download | s6-rc-e18d6958b2470a2e68cc637945ccf3a1dae5c0a2.tar.gz | |
Update examples
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'examples/source/mount-cgroups/up')
| -rw-r--r-- | examples/source/mount-cgroups/up | 10 |
1 files changed, 0 insertions, 10 deletions
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} |
