run (463B)
1 #!/command/execlineb -P 2 getpid SERVICE_PID 3 foreground { 4 importas -i SERVICE_PID SERVICE_PID 5 if { test -d /run/cgroup2 } 6 if { mkdir -p /run/cgroup2/s6-rc/svscan-ccx } 7 redirfd -w 1 /run/cgroup2/s6-rc/svscan-ccx/cgroup.procs 8 printf "%s" ${SERVICE_PID} 9 } 10 unexport SERVICE_PID 11 12 if { mkdir -p /run/user/ccx } 13 if { chown ccx: /run/user/ccx } 14 if { chmod 700 /run/user/ccx } 15 s6-setuidgid ccx 16 if { mkdir -p /run/user/ccx/service } 17 s6-svscan -d 3 /run/user/ccx/service