From 5e95d487982b9362b544139b98d1da55fa6ef78c Mon Sep 17 00:00:00 2001 From: PS
Date: Sat, 7 Feb 2026 10:20:30 +0100 Subject: Add doc --- doc/service/system/goetia-runner.html | 44 ++++++++++++++++++ doc/service/system/s6-svscan-log-console.html | 50 ++++++++++++++++++++ doc/service/system/s6-svscan-log.html | 37 +++++++++++++++ doc/service/user/.s6-svscan.html | 48 +++++++++++++++++++ doc/service/user/goetia-runner.html | 36 ++++++++++++++ doc/service/user/goetia-shutdown.html | 67 +++++++++++++++++++++++++++ doc/service/user/s6-svscan-log.html | 39 ++++++++++++++++ 7 files changed, 321 insertions(+) create mode 100644 doc/service/system/goetia-runner.html create mode 100644 doc/service/system/s6-svscan-log-console.html create mode 100644 doc/service/system/s6-svscan-log.html create mode 100644 doc/service/user/.s6-svscan.html create mode 100644 doc/service/user/goetia-runner.html create mode 100644 doc/service/user/goetia-shutdown.html create mode 100644 doc/service/user/s6-svscan-log.html (limited to 'doc/service') diff --git a/doc/service/system/goetia-runner.html b/doc/service/system/goetia-runner.html new file mode 100644 index 0000000..16abb52 --- /dev/null +++ b/doc/service/system/goetia-runner.html @@ -0,0 +1,44 @@ + + +
+ + + +
+ goetia-base
+
+ goetia
+
+ Software
+
+ 0x53.net
+
+ This service allows to hand of execution of a commandline to the + system supervision tree. + It is the "server side" counterpart to + system-run. + To achieve that, + goetia-runner makes use of + s6-ipcserver + and + s6-sudod. +
++ An example would be the + system-rc + command invoking state transitions that might bring down + the user interface + (thus aborting mid-transition, + since the controlling terminal dies). +
+ + diff --git a/doc/service/system/s6-svscan-log-console.html b/doc/service/system/s6-svscan-log-console.html new file mode 100644 index 0000000..eff7b14 --- /dev/null +++ b/doc/service/system/s6-svscan-log-console.html @@ -0,0 +1,50 @@ + + + + + + +
+ goetia-base
+
+ goetia
+
+ Software
+
+ 0x53.net
+
+ This service writes all messages
+ that arrive at the
+ s6-svscan
+ process, as well as the stdout
+ of s6-svscan itself to a directory of the logdir format
+ (see s6-log
+ and
+ logging directory).
+ It writes them to the system/logs/uncaught-logs subdirectory
+ of the runtime directory.
+
+ Additionally, all logs are duplicated to
+ /dev/console.
+
/dev/console
+ must be tha appropriate device node.
+
+ goetia-base
+
+ goetia
+
+ Software
+
+ 0x53.net
+
+ This service writes all messages
+ that arrive at the
+ s6-svscan
+ process, as well as the stdout
+ of s6-svscan itself to a directory of the logdir format
+ (see s6-log
+ and
+ logging directory).
+ It writes them to the system/logs/uncaught-logs subdirectory
+ of the runtime directory.
+
+ goetia-base
+
+ goetia
+
+ Software
+
+ 0x53.net
+
+ 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 + user supervision tree + using: +
+finish script.
+ + The .s6-svscan directory is easily overlooked, + do not forget to symlink/copy it! +
+ + diff --git a/doc/service/user/goetia-runner.html b/doc/service/user/goetia-runner.html new file mode 100644 index 0000000..1e6591c --- /dev/null +++ b/doc/service/user/goetia-runner.html @@ -0,0 +1,36 @@ + + + + + + +
+ goetia-base
+
+ goetia
+
+ Software
+
+ 0x53.net
+
+ This service allows to hand of execution of a commandline to the + user supervision tree. + It is the "server side" counterpart to + user-run. + To achieve that, + goetia-runner makes user of + s6-ipcserver + and + s6-sudod. +
+ + diff --git a/doc/service/user/goetia-shutdown.html b/doc/service/user/goetia-shutdown.html new file mode 100644 index 0000000..5652923 --- /dev/null +++ b/doc/service/user/goetia-shutdown.html @@ -0,0 +1,67 @@ + + + + + + +
+ goetia-base
+
+ goetia
+
+ Software
+
+ 0x53.net
+
+ The user goetia-shutdown service is used to tear down + user supervision trees. + Upon being started it: +
USER environment variable,
+ if it is empty it exits 100.
+ USERTREE environment variable,
+ If it is empty it exits 100.
+ ${USER}/${USERTREE}
+ of the
+ user runtime directory
+ exists. If not, meaning no user supervision tree is running, it exits 0.
+
+ goetia-base
+
+ goetia
+
+ Software
+
+ 0x53.net
+
+ This service writes all messages
+ that arrive at the
+ s6-svscan
+ process, as well as the stdout
+ of s6-svscan itself to a directory of the logdir format
+ (see s6-log
+ and
+ logging directory).
+ This is
+ ${XDG_STATE_HOME}/log/uncaught-logs,
+ if ${XDG_STATE_HOME} is unset it defaults to
+ ${HOME}/.local/state/log/uncaught-logs
+