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

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