about summary refs log tree commit diff
path: root/examples
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2016-03-18 22:16:08 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2016-03-18 22:16:08 +0000
commit3bcbbe18f9a60c0743c30d391c7878034e4b1274 (patch)
tree960b7f32e5135da062e3c658a80e602eff206480 /examples
parent4588c3eee9e64aa4cff6c1779721dcc744335d4a (diff)
downloads6-3bcbbe18f9a60c0743c30d391c7878034e4b1274.tar.gz
s6-3bcbbe18f9a60c0743c30d391c7878034e4b1274.tar.xz
s6-3bcbbe18f9a60c0743c30d391c7878034e4b1274.zip
- s6-svscan defaults to -t0 instead of -t5000
 - rc for v2.3.0.0, waiting to update deps before releasing
Diffstat (limited to 'examples')
-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