[systemd-devel] how to end a socket activated daemon

Łukasz Stelmach l.stelmach at samsung.com
Fri Jun 14 01:03:00 PDT 2013


Hi.

We are converting some daemons to socket activation. Most of them open
unix sockets and manage incoming connections in a main-loop, so the
easiest way to convert it is to create Accept=false socket with systemd.

Now, it is quite well described how to start such daemon, however, there
is little about shutting it down. Should the daemon close(2) the
received sockets? Should it unlink(2) them from a filesystem?

-- 
Łukasz Stelmach
Samsung R&D Institute Poland
Samsung Electronics



More information about the systemd-devel mailing list