* Shepherd socket activation
[not found] <1900053703.146350.1645935647770@office.mailbox.org>
@ 2022-02-27 9:32 ` Ricardo Wurmus
0 siblings, 0 replies; only message in thread
From: Ricardo Wurmus @ 2022-02-27 9:32 UTC (permalink / raw)
To: Brendan Tildesley; +Cc: Guix Devel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-02-27 9:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1900053703.146350.1645935647770@office.mailbox.org>
2022-02-27 9:32 ` Shepherd socket activation Ricardo Wurmus
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).