Skip to content

systemd socket activation#1066

Open
meeuw wants to merge 1 commit intorvaiya:masterfrom
meeuw:systemd-socket-activation
Open

systemd socket activation#1066
meeuw wants to merge 1 commit intorvaiya:masterfrom
meeuw:systemd-socket-activation

Conversation

@meeuw
Copy link
Contributor

@meeuw meeuw commented Aug 5, 2025

This PR adds support for systemd socket activation. For adding this I followed this documentation:

https://0pointer.de/blog/projects/socket-activation.html

The benefit of socket activation is that other services that depend on the keyd socket can be started in parallel with keyd, also no probing/sleep is needed to be sure that keyd started/initialized the ipc service on the socket.

I copied sd-daemon.c/sd-daemon.h from an old version of systemd so that keyd doesn't have to depend/use the libsystemd library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant