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

David Strauss david at davidstrauss.net
Tue Jun 18 14:22:23 PDT 2013


On Tue, Jun 18, 2013 at 10:23 AM, Kok, Auke-jan H
<auke-jan.h.kok at intel.com> wrote:
> Therefore, the .service daemon should NOT unlink
> the socket.

And you can generally prevent the service from having the service unit
drop permissions to something that can't delete the socket. The
service get get the fd from socket activation and accept connections
on it even if it doesn't have permission to unlink the socket.

--
David Strauss
   | david at davidstrauss.net
   | +1 512 577 5827 [mobile]


More information about the systemd-devel mailing list