#!/bin/execlineb -P # Initialize the service manager if { if -n -t { eltest -e /home/ccx/s6-rc/compiled } /home/ccx/s6-rc/compile } if { s6-rc-init -c /home/ccx/s6-rc/compiled -d /run/service } # Run the service manager. # Call it twice because the first time may spuriously "timeout" # due to the clock jumping forward. #if -nt { s6-rc -t 600000 -- change ok-all } foreground { s6-rc -v 2 -t 600000 -- change ok-all } # notification-fd fdmove 1 3 echo