Re: Bug in s6 dynamic instances

From: Paul Sopka <psopka_at_sopka.ch>
Date: Tue, 9 Jul 2024 10:19:21 +0200

>  No, this is on purpose.
>  The template directory is a regular s6 service directory, it should
> be constructed exactly like one - so, with run and finish scripts that
> are already executable. It's not meant to be supervised directly, but
> it's meant to be an exact service directory to be copied and instanced
> via environment variables.
>
>  An s6-rc source definition directory is not a service directory, you
> cannot run an s6-supervise program on it. It is explicitly meant to be
> processed by s6-rc-compile and nothing else; so, no file in a source
> definition directory requires an executable bit.

Now I see. I was spoiled by only having used s6-rc up until now.
s6-rc-compile sets the executable bit and of course never runs on the
template.

Thank you.


Paul

Received on Tue Jul 09 2024 - 10:19:21 CEST

This archive was generated by hypermail 2.4.0 : Tue Jul 09 2024 - 10:20:18 CEST