From 02a071125de739ed54660ad014ffd57c42516abf Mon Sep 17 00:00:00 2001 From: PS
Date: Sat, 7 Feb 2026 10:37:36 +0100 Subject: Add doc --- doc/bin/system-init.html | 132 +++++++++++++++++++++++++++++++++++++++++++ doc/bin/system-shutdown.html | 88 +++++++++++++++++++++++++++++ 2 files changed, 220 insertions(+) create mode 100644 doc/bin/system-init.html create mode 100644 doc/bin/system-shutdown.html (limited to 'doc/bin') diff --git a/doc/bin/system-init.html b/doc/bin/system-init.html new file mode 100644 index 0000000..7b3df53 --- /dev/null +++ b/doc/bin/system-init.html @@ -0,0 +1,132 @@ + + +
+ + + +
+ goetia-linux-init
+
+ goetia
+
+ Software
+
+ 0x53.net
+
+ system-init is a minimal, scripted init to bring up a goetia based system. +
+system-init+
/dev/console its stdout and stderr.
+ BUNDLE,
+ which can be specified on the Kernel command line.
+ If it is undefined, it uses default as the value.
+ PATH,
+ which can be specified on the Kernel command line.
+ If it is undefined, it uses
+ /command:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/libexec:/usr/local/libexec
+ as the value.
+ PATH environment variable to the value
+ chosen above.
+ /.
+ s6-setsid
+ to become the session leader.
+ uncaught-logs/
+ subdirectory of the
+ system log directory
+ to the
+ log/
+ subdirectory of the
+ system runtime directory
+ if they exist.
+ prepare-svscan
+ with the proper arguments.
+ s6-svscan
+ on the scandir represented by the
+ service/
+ subdirectory of the
+ system runtime directory.
+ + system-init is primarily intended to be used + as an init for an acutal boot process, not for containers. +
+ + diff --git a/doc/bin/system-shutdown.html b/doc/bin/system-shutdown.html new file mode 100644 index 0000000..ac2758c --- /dev/null +++ b/doc/bin/system-shutdown.html @@ -0,0 +1,88 @@ + + + + + + +
+ goetia-linux-init
+
+ goetia
+
+ Software
+
+ 0x53.net
+
+ system-shutdown is the interface to the + system-shutdown-daemon. +
+system-shutdown -h | -p | -r+
DIRECTIVE in the envdir at the
+ shutdown-directive subdirectory of the
+ system runtime directory.
+ -h: at the end of the shutdown sequence, halt the system.
+ -p: at the end of the shutdown sequence, poweroff the system.
+ -r: at the end of the shutdown sequence, reboot the system.
+ + There is a reason this program exists as part of (multiple) + goetia-init packages and not as part of + goetia-base. + It is that some supported init systems, like + s6-linux-init + (through goetia-s6-linux-init) + provide their own shutdown procedure and interface. +
+ + -- cgit v1.2.3