Reason for s6-svscan -X

From: Paul Sopka <psopka_at_sopka.ch>
Date: Sun, 2 Mar 2025 15:19:38 +0100

Hey everyone,

a while ago I posted an init script here.
After fiddling with init a bit I wondered why
to not just redirect the stdout of s6-svscan-log
to /dev/console, instead of using s6-svscan -X.

I have used the configuration of s6-svscan without "-X"
and s6-svscan-log with something like:
"... fdmove -c 1 2 redirfd -a 1 /dev/console s6-log 1 ..."
and wonder if there is any drawback to that?

Regards,
Paul

Received on Sun Mar 02 2025 - 15:19:38 CET

This archive was generated by hypermail 2.4.0 : Sun Mar 02 2025 - 15:19:49 CET