[systemd-devel] xnitd

Mantas Mikulėnas grawity at gmail.com
Thu Nov 28 15:57:04 PST 2013


On Nov 29, 2013 1:30 AM, "Cecil Westerhof" <Cecil.Westerhof at snow.nl> wrote:
>
> How does systemd compare to xinitd?

Did you mean inetd/xinetd?

systemd's .socket units are very similar (many existing programs, like
sshd, can be moved directly from inetd to systemd -- Accept=yes corresponds
to the 'nowait' type, and Accept=no to 'wait'), but since each . socket
unit starts a corresponding . service unit, you get the same systemd
features as with regular services -- dependencies, resource limits, process
tracking, etc.

On the other hand, there is no support for things like TCPMUX, SunRPC
services (though Avahi integration was planned once), or some more obscure
xinetd options.

While both systems support both methods, systemd's socket activation is
more often used to pass the *listener* socket to the service, which still
does all accepting itself (e.g. both DBus and udev start this way);
meanwhile, I see inetd more often used to start one instance per connection.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20131129/1e3fecbf/attachment-0001.html>


More information about the systemd-devel mailing list