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 +++++++++++++++++++++ doc/index.html | 116 ++++++++++++++++++++++++++++ doc/service/system/.s6-svscan.html | 38 +++++++++ doc/service/system/goetia-shutdown.html | 133 ++++++++++++++++++++++++++++++++ 5 files changed, 507 insertions(+) create mode 100644 doc/bin/system-init.html create mode 100644 doc/bin/system-shutdown.html create mode 100644 doc/index.html create mode 100644 doc/service/system/.s6-svscan.html create mode 100644 doc/service/system/goetia-shutdown.html 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 @@ + + + + + + + system-init + + + +
+

+ goetia-linux-init +
+ goetia +
+ Software +
+ 0x53.net +

+
+ +

The system-init program

+

+ system-init is a minimal, scripted init to bring up a goetia based system. +

+

Interface

+
     system-init
+ +

Exit codes

+ +

Options

+ +

Notes

+

+ 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 @@ + + + + + + + system-shutdown + + + +
+

+ goetia-linux-init +
+ goetia +
+ Software +
+ 0x53.net +

+
+ +

The system-shutdown program

+

+ system-shutdown is the interface to the + system-shutdown-daemon. +

+

Interface

+
     system-shutdown -h | -p | -r
+ +

Options

+ +

Exit codes

+ +

Notes

+

+ 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. +

+ + diff --git a/doc/index.html b/doc/index.html new file mode 100644 index 0000000..2ff7296 --- /dev/null +++ b/doc/index.html @@ -0,0 +1,116 @@ + + + + + + + goetia-linux-init + + + +
+

+ goetia +
+ Software +
+ 0x53.net +

+
+ +

goetia-linux-init

+

What is it?

+

+ goetia-linux-init contains + init and shutdown scripts for running goetia on a Linux Kernel. + Additionally, it contains + service directories + specific to this init system. +

+
+

Installation

+

Requirements

+ +

Licensing

+

+ goetia-linux-init is free software. It is available under the + ISC license. +

+

Download

+ +

Compilation

+ +
+

Reference

+
+

Commands

+

+ All of the following are + execline + scripts. +

+ +
+
+

Service directories

+

+ Service directories specific to the Linux Kernel + and to this init system. +

+ +
+ + diff --git a/doc/service/system/.s6-svscan.html b/doc/service/system/.s6-svscan.html new file mode 100644 index 0000000..2b1b437 --- /dev/null +++ b/doc/service/system/.s6-svscan.html @@ -0,0 +1,38 @@ + + + + + + + system .s6-svscan + + + +
+

+ goetia-linux-init +
+ goetia +
+ Software +
+ 0x53.net +

+
+ +

The system .s6-svscan directory

+

+ The .s6-svscan directory contains scripts + that are executed if + s6-svscan + receives a signal or exits. + In this case its main use is to properly shutdown + the system using system-shutdown + upon receiving certain signals. +

+

+ The .s6-svscan directory is easily overlooked, + do not forget to symlink/copy it! +

+ + diff --git a/doc/service/system/goetia-shutdown.html b/doc/service/system/goetia-shutdown.html new file mode 100644 index 0000000..2dd3728 --- /dev/null +++ b/doc/service/system/goetia-shutdown.html @@ -0,0 +1,133 @@ + + + + + + + goetia-shutdown + + + +
+

+ goetia-linux-init +
+ goetia +
+ Software +
+ 0x53.net +

+
+ +

The goetia-shutdown service

+

+ goetia-shutdown is the service that starts + system-shutdown-daemon. + goetia-shutdown is down by default. + Starting it initiates the shutdown procedure. +

+

+ goetia-shutdown consists of three scripts: +

+

run

+ +

stage3b

+ +

stage4

+ +

Notes

+

+ The entire shutdown procedure roughly works as follows: +

+ + + -- cgit v1.2.3