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/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 ++++++++++++++++++++ 4 files changed, 190 insertions(+) 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/user') diff --git a/doc/service/user/.s6-svscan.html b/doc/service/user/.s6-svscan.html new file mode 100644 index 0000000..c861e00 --- /dev/null +++ b/doc/service/user/.s6-svscan.html @@ -0,0 +1,48 @@ + + +
+ + + +
+ 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
+