summaryrefslogtreecommitdiff
path: root/examples/s6-svscanboot
blob: be4bea48a94e1311f8211a6fd08b83fb4add321a (plain)
1
2
3
4
5
6
7
8
9
#!/bin/execlineb -P

/bin/exec -c
/bin/s6-setsid -qb
/bin/redirfd -r 0 /dev/null
/bin/redirfd -wnb 1 /service/s6-svscan-log/fifo
/bin/fdmove -c 2 1
/bin/exec -a s6-svscan
/bin/s6-svscan -t0 /service