carbon-s6-init

s6-linux-init configuration for Carbon
git clone https://ccx.te2000.cz/git/carbon-s6-init
Log | Files | Refs

commit d44e4fce114a4b06f8f2a09fd8b5ed383513de1a
parent d8794d75088c9bd34d5e0f0bc5aef6d96c150f88
Author: root <root@dorje.v103.te2000>
Date:   Wed, 13 Jul 2022 16:00:19 +0000

Longer delay after starting services, distinguish system messages.

Diffstat:
Minstall | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/install b/install @@ -49,12 +49,12 @@ $qc/ifelse -X { $qc/s6-rc -v 2 -t 600000 -- change ok-all-but-tty } { # no timeout, start ttys properly - $qc/foreground { $qc/s6-echo "System started normally (bundle ok-all-but-tty)" } - $qc/foreground { sleep 0.1 } + $qc/foreground { $qc/s6-echo "* System started normally (bundle ok-all-but-tty)" } + $qc/foreground { sleep 0.3 } $qc/foreground { $qc/s6-svc -d /run/service/console-log-tail } $qc/s6-rc -v 2 -t 600000 -- change ok-all } -$qc/s6-echo "System startup failure: retry" +$qc/s6-echo "* System startup failure: retry" # try again without tty and then with $qc/foreground { $qc/s6-rc -v 2 -t 600000 -- change ok-all-but-tty } $qc/foreground { sleep 0.1 }