diff options
| author | PS <p@0x53.net> | 2026-02-07 10:38:55 +0100 |
|---|---|---|
| committer | PS <p@0x53.net> | 2026-02-07 10:38:55 +0100 |
| commit | d31250fc850b196d2b46b94c82f0538f4b79248c (patch) | |
| tree | 939ad4bf9011accaed58a002f3b936f1b494f519 /doc/bin/system-init.html | |
| parent | 466a79421d335c020bf2208692e9f7f41614f6f1 (diff) | |
| download | goetia-s6-linux-init-d31250fc850b196d2b46b94c82f0538f4b79248c.tar.gz goetia-s6-linux-init-d31250fc850b196d2b46b94c82f0538f4b79248c.tar.bz2 goetia-s6-linux-init-d31250fc850b196d2b46b94c82f0538f4b79248c.zip | |
Add doc
Diffstat (limited to 'doc/bin/system-init.html')
| -rw-r--r-- | doc/bin/system-init.html | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/doc/bin/system-init.html b/doc/bin/system-init.html new file mode 100644 index 0000000..e0f1812 --- /dev/null +++ b/doc/bin/system-init.html @@ -0,0 +1,74 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <meta http-equiv="Content-Language" content="en" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <title>system-init</title> + <meta name="Description" content="A wrapper around s6-linux-init to start it with the correct options for goetia." /> + <meta name="Keywords" content="goetia s6 s6-rc s6-linux-init Linux init" /> + </head> + <header> + <p> + <a href="//0x53.net/software/goetia/goetia-s6-linux-init">goetia-s6-linux-init</a> + <br /> + <a href="//0x53.net/software/goetia">goetia</a> + <br /> + <a href="//0x53.net/software">Software</a> + <br /> + <a href="//0x53.net">0x53.net</a> + </p> + </header> + <body> + <h1>The system-init program</h1> + <p> + system-init is a wrapper around + <a href="https://skarnet.org/software/s6-linux-init/s6-linux-init.html">s6-linux-init</a>. + </p> + <h2>Interface</h2> + <pre> system-init</pre> + <ul> + <li> + system-init takes no arguments. + </li> + <li> It executes s6-linux-init with proper arguments to: + <ul> + <li> + Use the umask <code>0022</code>. + </li> + <li> + Use the config at <code>/etc/s6-linux-init/goetia</code> + </li> + <li> + Use the <code>PATH</code> environment variable set to + <code>/command:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/libexec:/usr/local/libexec</code>. + </li> + </ul> + </li> + </ul> + <h2>Exit codes</h2> + <ul> + <li> + system-init does nothing more than starting + <a href="https://skarnet.org/software/s6-linux-init/s6-linux-init.html">s6-linux-init</a> + with arguments + and behaves exactly like it. + </li> + <li> + See also: + <a href="https://skarnet.org/software/execline/exitcodes.html">execline exit code handling</a>. + </li> + </ul> + <h2>Options</h2> + <ul> + <li> + There are no options to system-init. + </li> + </ul> + <h2>Notes</h2> + <p> + system-init is primarily intended to be used + as an init for an acutal boot process, not for containers. + </p> + </body> +</html> |
