From: "Laurent Bercot" <ska-supervision@skarnet.org>
To: supervision <supervision@list.skarnet.org>
Subject: Re: s6-rc user services on Gentoo
Date: Sat, 06 Apr 2024 18:31:12 +0000 [thread overview]
Message-ID: <em24d58bf1-c06d-4347-8bec-1296fc6a92fd@f921e670.com> (raw)
In-Reply-To: <CACTu11GRaUGSLbauy7KwZk=drvD5BhfC1RsvYZmOsJHSDk4xjg@mail.gmail.com>
>I have been using `--print-pid=3` as readiness notification for dbus-daemon
>for quite a while now on my user services and I haven't had any problems
>with it so far. IIRC, looking at dbus-daemon code, it actually prints the
>socket address first then its pid. So, I use the `--print-address=` option
>to save the socket address to a file for consumption by s6-envdir.
Interesting. But it's also an implementation detail, because
dbus-daemon
could print its pid at any time, no matter its readiness state. That's
why
I chose to go with --print-address - but of course reading the code
instead
of speculating is the right thing to do :)
--
Laurent
prev parent reply other threads:[~2024-04-06 18:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-02 4:42 Alexis
2024-04-02 10:44 ` Hoël Bézier
2024-04-02 23:44 ` Alexis
2024-04-02 20:57 ` Guillermo
2024-04-03 0:12 ` Alexis
2024-04-03 11:37 ` Laurent Bercot
2024-04-06 12:43 ` Guillermo
2024-04-06 13:57 ` Laurent Bercot
2024-04-06 15:57 ` Muhammad Mahendra Subrata
2024-04-06 18:31 ` Laurent Bercot [this message]
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=em24d58bf1-c06d-4347-8bec-1296fc6a92fd@f921e670.com \
--to=ska-supervision@skarnet.org \
--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).