[PATCH weston v2] systemd: take over sockets created by systemd

Pekka Paalanen ppaalanen at gmail.com
Wed Apr 6 11:17:53 UTC 2016


On Tue, 5 Apr 2016 20:43:29 +0000
"Friedrich, Eugen (ADITG/SW1)" <efriedrich at de.adit-jv.com> wrote:

> 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
> 
> Signed-off-by: Eugen Friedrich <efriedrich at de.adit-jv.com>
> ---
>  configure.ac         |  5 ++++-
>  src/systemd-notify.c | 45 +++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 49 insertions(+), 1 deletion(-)

Looking good, pushed:
   d962be1..265aeb3  master -> master


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20160406/9c656d78/attachment.sig>


More information about the wayland-devel mailing list