From: Carlos Eduardo <firstname.lastname@example.org>
Subject: Readiness notification using signals
Date: Wed, 29 Sep 2021 09:24:54 -0300 [thread overview]
Message-ID: <CAN09KnK_7LTNWrs_AN9iNStEEo5xZL_ftzwJh+HhDetuJZMkHA@mail.gmail.com> (raw)
I'm supervising an instance of an X Server using s6.
X.Org has a built-in readiness notification mechanism: it sends a USR1
to its parent process once it's ready. From what I know, it would be
However, after reading the documentation, there doesn't seem to be a
way to set up custom USR1 handlers for s6-supervise. As far as I know,
this leaves me with two, not quite ideal solutions: make the run
script spawn X and do readiness notification on its behalf (which
lengthens the supervision chain), or poll it (which is what I've been
doing). Is there a way to not let the information from this USR1 not
"go to waste"?
Forgive me if I'm not seeing an obvious solution for this problem that
doesn't involve patching either software.
next reply other threads:[~2021-09-29 12:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-29 12:24 Carlos Eduardo [this message]
2021-09-29 16:14 ` Laurent Bercot
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:
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* 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).