[systemd-devel] about the daemon

Martin Pitt martin.pitt at ubuntu.com
Mon Nov 16 22:16:28 PST 2015


Hello yankun,

yankun at iscas.ac.cn [2015-11-17 14:07 +0800]:
> Because Systemd create the socket for the service,so what I want to
> know is when I  use a daemon , I will get the source  of the daemon
> and modyfy it,right?

You don't _have to_ use socket activation, so it's not a prerequisite
to modify daemons to work with systemd. But of course teaching them to
become socket activated and adding a .socket unit makes startup more
efficient and dependencies simpler, so indeed it's worth doing that.
This is documented here: http://0pointer.de/blog/projects/socket-activation.html

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


More information about the systemd-devel mailing list