summaryrefslogtreecommitdiff
path: root/examples/s6-svscanboot
diff options
context:
space:
mode:
Diffstat (limited to 'examples/s6-svscanboot')
-rwxr-xr-xexamples/s6-svscanboot7
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/s6-svscanboot b/examples/s6-svscanboot
index 2e36623..d5ae2a3 100755
--- a/examples/s6-svscanboot
+++ b/examples/s6-svscanboot
@@ -1,8 +1,9 @@
#!/command/execlineb -P
-exec -c
+s6-envdir -I /service/.s6-svscan/env
+s6-setsid -qb
+redirfd -r 0 /dev/null
redirfd -wnb 1 /service/s6-svscan-log/fifo
fdmove -c 2 1
-s6-envdir -I /service/.s6-svscan/env
-exec -a s6-svscan
+exec -c -a s6-svscan
s6-svscan -t0 /service