summaryrefslogtreecommitdiff
path: root/s6/base/run-image/service/.s6-svscan/crash
blob: e5a9440f55efb8f680d9b9bf4e5d9b54e307b1fe (plain)
1
2
3
4
5
6
#!/bin/execlineb -P

redirfd -w 2 /dev/console
fdmove -c 1 2
foreground { s6-linux-init-echo -- "s6-svscan crashed. Rebooting." }
s6-linux-init-hpr -fr