socket-server: Add support for systemd socket activation.
authorColin Guthrie <colin@mageia.org>
Thu, 16 Oct 2014 09:05:19 +0000 (10:05 +0100)
committerColin Guthrie <colin@mageia.org>
Mon, 3 Nov 2014 12:32:23 +0000 (12:32 +0000)
commit467b4b9bee66257da7ce51c1158f9fe2178daac1
tree2bd5cde274ea3086623bd94b2e9c2d5d9b9c1f26
parentfb1ca6f0c1799259bad85bee8d984d62871584b9
socket-server: Add support for systemd socket activation.

This adds support to module-native-protocol-unix to take over already
listening sockets passed in via socket activation (e.g. from systemd)

Most of the code is isolated to socket-server but some cleanup code also
had to be tweaked to ensure we do not overzealously close open fds.
configure.ac
src/Makefile.am
src/daemon/main.c
src/pulsecore/socket-server.c
src/pulsecore/socket-util.c