From: Ricardo Wurmus <rekado@elephly.net>
To: Brendan Tildesley <mail@brendan.scot>
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Shepherd socket activation
Date: Sun, 27 Feb 2022 10:32:44 +0100 [thread overview]
Message-ID: <87h78k7ihr.fsf@elephly.net> (raw)
In-Reply-To: <1900053703.146350.1645935647770@office.mailbox.org>
Brendan Tildesley <mail@brendan.scot> writes:
> I'll have another go at making the Pipewire service soon. The last
> issue I ran into is that since Guix doesn't use systemd, there is
> no socket activation support that Pipewire can use, so I wasn't sure
> how to launch it.
We can add socket activation in its simplest form to Shepherd. Shepherd
will only have to create socket files and listen for activity; on
activity it starts an associated service. We don’t need to have it pass
sockets or do anything fancy.
I’m not a fan of how systemd uses only conventions to associate the
socket service with the service that should be activated. In the
Shepherd we could define a separate one-shot service that creates the
socket (and has Shepherd listen on it), which names other services that
would be activated by activity on the socket.
--
Ricardo
next prev parent reply other threads:[~2022-02-27 9:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-27 4:20 How Configure Guix to use Pipewire Brendan Tildesley
2022-02-27 9:32 ` Ricardo Wurmus [this message]
2022-02-28 0:47 ` Antwane Mason
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=87h78k7ihr.fsf@elephly.net \
--to=rekado@elephly.net \
--cc=guix-devel@gnu.org \
--cc=mail@brendan.scot \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.