#!/bin/execlineb -P /bin/export PATH "/command:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /bin/cd / s6-setsid -qb -- umask 022 if { s6-echo -n -- "\n* user container init: " } foreground { uname -n } # if { s6-mount -nwt tmpfs -o mode=0755 tmpfs "/run" } #foreground { rm -rf /run/service /run/s6-rc } #if { strace s6-hiercopy "/home/ccx/run/s6-linux-init"/run-image "/run" } #if { s6-hiercopy "/home/ccx/run/s6-linux-init"/run-image/service "/run"/service } #if { s6-hiercopy "/home/ccx/run/s6-linux-init"/run-image/uncaught-logs "/run"/uncaught-logs } s6-envdir -I -- "/home/ccx/run/"/env redirfd -r 0 /dev/null redirfd -wnb 1 "/run"/service/s6-svscan-log/fifo background { s6-setsid -- redirfd -w 1 "/run"/service/s6-svscan-log/fifo fdmove -c 1 2 "/home/ccx/run/rc.init" } unexport ! cd "/run"/service fdmove -c 2 1 s6-svscan -st0