From af9550cfe7ea35590d9c8e246ebeaa32f6469966 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 4 Jun 2026 09:47:23 +0000 Subject: Prepare for 2.15.1.0; add s6-svscanboot Also fix links on why.html. s6-svscanboot doc coming soon. --- doc/s6-svscan-not-1.html | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'doc/s6-svscan-not-1.html') diff --git a/doc/s6-svscan-not-1.html b/doc/s6-svscan-not-1.html index 163b792..632dab2 100644 --- a/doc/s6-svscan-not-1.html +++ b/doc/s6-svscan-not-1.html @@ -50,17 +50,15 @@ of by the logging tools.
  • You can use a trick similar to the process 1 output logging trick so the supervision tree's messages are logged via a service that's maintained by the supervision tree itself. Then your init -system should not launch s6-svscan directly, but a wrapper script that performs -the proper redirections. The -examples/s6-svscanboot file in the s6 distribution gives an example of -such a script. Make sure that your initial scan -directory contains a service directory for your -initial logging service, that must read on the logging FIFO.
  • +system should not launch s6-svscan directly, but a wrapper script, or a binary, + that performs the proper redirections. The +s6-svscanboot binary is an example of such +a program, and it is recommended that you use it.

    In some of the following examples, we'll assume that /command/s6-svscanboot -is the name of the script you are using to start s6-svscan. We will also assume +is the name of the program you are using to start s6-svscan. We will also assume that all of the s6 executables are available through the /command path. Adjust this accordingly.

    @@ -76,7 +74,7 @@ config file with telinit q.

    Example

    -
     SV:123456:respawn:/command/s6-svscanboot 
    +
    SV:123456:respawn:/command/s6-svscanboot -c /dev/console /run/service
    @@ -97,7 +95,7 @@ stop on runlevel [!2345] oom never respawn -exec /command/s6-svscanboot +exec /command/s6-svscanboot -c /dev/console /run/service @@ -149,7 +147,7 @@ file with kill -s HUP 1.

    Example

    -
     sv /command/s6-svscanboot "" on 
    +
     sv "/command/s6-svscanboot -c /dev/console /run/service" "" on 

    MacOS launchd

    -- cgit v1.3.1