Re: s6-rc how to log oneshot services

2023-03-07 Thread Laurent Bercot
Artix Linux achieves this with pipeline -dw { s6-log ... } actual-oneshot Not ideal due to the lack of supervision for s6-log, but it works. Yes, it works. The lack of supervision doesn't matter here because the s6-log is short-lived: it will die when actual-oneshot exits. The main drawback

Re: s6-rc how to log oneshot services

2023-03-07 Thread Carlos Eduardo
Artix Linux achieves this with pipeline -dw { s6-log ... } actual-oneshot Not ideal due to the lack of supervision for s6-log, but it works. Em ter., 7 de mar. de 2023 08:12, Daniel Barlow escreveu: > > Hi all > > I've adopted s6 and s6-rc for a small distro that's targeted at > consumer wifi

Re: s6-rc how to log oneshot services

2023-03-07 Thread Laurent Bercot
The default stderr for oneshot services is the default stderr of the supervision tree you're running s6-rc with. So, if you're using s6-linux-init, stderr for oneshot services goes directly to the catch-all logger and you don't need the redirection. If you want your oneshots to log to a

Re: s6-rc how to log oneshot services

2023-03-07 Thread Alex Kiernan
On Tue, Mar 7, 2023 at 10:45 AM Daniel Barlow wrote: > > > Hi all > > I've adopted s6 and s6-rc for a small distro that's targeted at > consumer wifi routers and similar low-powered devices (same target > devices as openwrt) and so far I am appreciating the consistency and the > warm fuzzies that

s6-rc how to log oneshot services

2023-03-07 Thread Daniel Barlow
Hi all I've adopted s6 and s6-rc for a small distro that's targeted at consumer wifi routers and similar low-powered devices (same target devices as openwrt) and so far I am appreciating the consistency and the warm fuzzies that I get from having a supervision tree (and simple readiness