antirez/redis — Issue #329: Support systemd socket activation
Author: burns
Created: 2012-02-05 00:35:50+00:00
State: open

Main Project Pages
http://www.freedesktop.org/wiki/Software/systemd/
http://0pointer.de/blog/projects/systemd-docs.html

How-to on patching a service to use socket activation.
http://0pointer.de/blog/projects/socket-activation.html

Man Pages for sd-daemon and sd_listen_fds();
http://0pointer.de/public/systemd-man/sd-daemon.html
http://0pointer.de/public/systemd-man/sd_listen_fds.html

Using the above information, I was able to patch the 2.4 branch
and it seems to work as advertised :)
https://gist.github.com/1741478

I linked systemd-daemon, but as the docs above state, the two files
(sd-daemon.c and sd-daemon.h) could be added to `/deps`.

You would know the git front-end at freedesktop.org seems to be down atm :/
If you'd like to quickly view these two files, I've pulled the most recent
copies from their repo here: https://gist.github.com/1741350