diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2026-09-08 15:08:16 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2026-09-08 15:08:16 +0000 |
| commit | 125cf07d0b5139476b1f25fa4ba5a0782818eacc (patch) | |
| tree | ce1762816af561be3284cd74560f2e995f7202c0 /doc/s6_system.html | |
| parent | 785dc1eb5a4709f78ee823a1c0fe11e7efeddc05 (diff) | |
| download | s6-frontend-125cf07d0b5139476b1f25fa4ba5a0782818eacc.tar.gz | |
s6 system: suggest use of official s6-svscanboot
Diffstat (limited to 'doc/s6_system.html')
| -rw-r--r-- | doc/s6_system.html | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/doc/s6_system.html b/doc/s6_system.html index d2f9129..74f45ea 100644 --- a/doc/s6_system.html +++ b/doc/s6_system.html @@ -70,12 +70,10 @@ two lines at the beginning of <tt>/etc/inittab</tt>: <ul> <li> The first line should be a command that runs and respawns <a href="//skarnet.org/software/s6/s6-svscan.html">s6-svscan</a>, -ideally with a catch-all logger. This could be something like -<tt>::respawn:/usr/lib/s6/s6-svscanboot</tt>, with <tt>/usr/lib/s6/s6-svscanboot</tt> -being similar to the script used -<a href="https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/s6/s6-svscanboot?ref_type=heads">in -Alpine Linux</a> to start an instance of s6-svscan supervising its own -catch-all logger. </li> +ideally with a catch-all logger: the +<a href="//skarnet.org/software/s6/s6-svscanboot.html">s6-svscanboot</a> +program is suitable for this, and the inittab line could e.g. be: +<tt>::respawn:/usr/bin/s6-svscanboot /run/service</tt> </li> <li> The second line should be <tt>::wait:/usr/bin/s6 system boot</tt>. </li> <li> For complete safety, there should be a synchronization mechanism so that the second line never starts before s6-svscan is ready. A quick and (very) dirty |
