systemd: take over sockets created by systemd

Graphics / Wayland / Weston - Friedrich, Eugen (ADITG/SW1) [de.adit-jv.com] - 6 April 2016 06:12 UTC

Systemd provides a feature of socket-based activation, details in [1] This commit adds an implementation to check if sockets were provided by systemd and adds this as an additional socket to wayland display. before adding sockets are checked for the correctness: only AF_UNIX of type SOCK_STREAM are accepted

This is usefull for early rendering use-cases where weston and early-rendering-application can be started parallel.

[1] https://www.freedesktop.org/software/systemd/man/systemd.socket.html

265aeb3 systemd: take over sockets created by systemd
configure.ac | 5 ++++-
src/systemd-notify.c | 45 +++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 49 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share