On Fri, Feb 25, 2022 at 8:52 AM Jan Bramkamp wrote:
> I use s6-rc on the FreeBSD jail host as well to manage jails with their
> own supervision trees as long running services making the jail
> supervision tree a subtree of the host supervision tree. I prefer to let
> s6-rc handle state
On 24.02.22 06:16, Jan-willem De Bleser wrote:
Not an option to be its parent since there's no persistent supervisor of a
jail's root process, but that script using .s6-svscan/finish should do
nicely. Thanks for the suggestion!
I use s6-rc on the FreeBSD jail host as well to manage jails with
Not an option to be its parent since there's no persistent supervisor of a
jail's root process, but that script using .s6-svscan/finish should do
nicely. Thanks for the suggestion!
- Jw
On Wed, Feb 23, 2022 at 9:04 PM Laurent Bercot
wrote:
>
> >What's the cleanest way to wait on s6-svscan to
What's the cleanest way to wait on s6-svscan to shut down after issuing of
a SIGTERM (say s6 via-svscanctl -t)?
Be its parent, and wait for it. :)
On SIGTERM, s6-svscan will not exit until the supervision tree is
entirely down, so that will work.
If you're not the parent, then you'll have