Re: s6-rc blocks when oneshot service is still running

Alex Grabowski <[email protected]> Fri, 15 May 2026 21:55:55 +0200
Newsgroups gmane.comp.sysutils.supervision.general
Message-ID <[email protected]>
Hi,

On 5/14/26 18:58, Laurent Bercot wrote:
> 
>> It is something to think about. Setup is kinda complex: I have a longrun
>> "A" that does "s6-rc start foobar"
> 
>   Is A a service run by s6-rc, in the same service database as foobar?
> 
>   If it is, I would strongly advise you not to do that. Do not invoke
> s6-rc commands from within a service that is managed by s6-rc: that
> might deadlock or fail.

In the same database, I actually rewrote it to be just a script,
sometimes you need a fresh look to understand that you're doing
something wrong. Not everything is a service.

-- 
Alex