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 -- 1 }
s6-svscanctl -b "/run"/service