From 5e95d487982b9362b544139b98d1da55fa6ef78c Mon Sep 17 00:00:00 2001 From: PS
Date: Sat, 7 Feb 2026 10:20:30 +0100 Subject: Add doc --- doc/bin/prepare-svscan.html | 120 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 doc/bin/prepare-svscan.html (limited to 'doc/bin/prepare-svscan.html') diff --git a/doc/bin/prepare-svscan.html b/doc/bin/prepare-svscan.html new file mode 100644 index 0000000..6b82bd5 --- /dev/null +++ b/doc/bin/prepare-svscan.html @@ -0,0 +1,120 @@ + + +
+ + + +
+ goetia-base
+
+ goetia
+
+ Software
+
+ 0x53.net
+
+ prepare-svscan does generic preparation of the + supervision tree. + It is also used in system-init and + user-init. +
+prepare-svscan workingdir rundir bundle prog...+
/dev/null.
+ 0022.
+ rundir.
+ workingdir/run-image/.
+ to rundir/.
+ rundir/service/s6-svscan-log/fifo.
+ rundir/service/s6-svscan-log/fifo.
+ rundir/s6-rc does not exist,
+ rundir/service using
+ s6-rc-init
+ and starts the bundle bundle using s6-rc.
+ workingdir/env is sourced using
+ s6-env.
+ prog...,
+ which is usually directly or indirectly
+ s6-svscan.
+
+ Once s6-svscan is launched it will start an
+ s6-supervise
+ process on rundir/service/s6-svscan-log which starts
+ s6-log reading
+ from rundir/service/s6-svscan-log/fifo.
+ This in turn triggers the forked background process to continue with its second step.
+