1 2 3 4
#!/bin/execlineb -P foreground { redirfd -w 1 "/run"/file\ created\ by\ s6-linux-init,\ storing\ a\ container's\ exit\ code s6-echo -- 0 } s6-svscanctl -b "/run"/service