[systemd-devel] How to implement a demon process by socket activation

Tony Seo tonyseo7 at gmail.com
Wed Sep 11 05:33:24 PDT 2013


Hi
I have been aiming to make a demon process by socket activation in systemd.
you know that,  it was provided for socket activation in systemd homepage
like below .
http://0pointer.de/blog/projects/socket-activation.html

I refered that guide for making a daemon process started using socket
activation.

I just followed the explanation in that site and tried to make a pair of
server/client program on TCP/IP.( I just only added a sd_listen_fds()
library fuction in server process using sd-daemon library)

But it didn't work when I started server process.

those processes  include  almost same code with following the guide.

Is that all to make a daemon process by socket activation in homepage?



Thanks, tonyseo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20130911/167f3233/attachment.html>


More information about the systemd-devel mailing list