supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Jan Bramkamp <crest@rlwinm.de>
To: supervision@list.skarnet.org
Subject: Re: s6-svscan shutdown notification
Date: Fri, 25 Feb 2022 17:52:01 +0100	[thread overview]
Message-ID: <0cb9bb90-f63e-5dbe-b890-f03803b7c9e4@rlwinm.de> (raw)
In-Reply-To: <CAHgrPWKeNYMoZsoV3x9D9gy+M2e_NhQGeikL=hQQJCV2deyEUg@mail.gmail.com>

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 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 transitions instead of using the more limited state 
management support in the jail utility. I use one service bundle per 
jail containing a oneshot to create/destroy a persistent jail and a long 
run depending on the oneshot using jexec to start the supervision 
subtree inside the jail.

  reply	other threads:[~2022-02-25 16:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-24  1:27 Jan-willem De Bleser
2022-02-24  5:04 ` Laurent Bercot
2022-02-24  5:16   ` Jan-willem De Bleser
2022-02-25 16:52     ` Jan Bramkamp [this message]
2022-02-26 16:12       ` Jan-willem De Bleser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0cb9bb90-f63e-5dbe-b890-f03803b7c9e4@rlwinm.de \
    --to=crest@rlwinm.de \
    --cc=supervision@list.skarnet.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).