summary refs log tree commit diff
path: root/examples/s6-svscanboot
blob: e8650cb5cf8fcd083e4843755628a9134e5a3820 (plain) (blame)
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 /run/service/s6-svscan-log/fifo
/bin/fdmove -c 2 1
/bin/exec -a s6-svscan
/bin/s6-svscan -t0 /run/service