Am 13.02.2014 00:37, schrieb Salvo Tomaselli:
> Hello,
> 
>> If you are referring to the "cat /var/run/xinetd.dump", no there isn't.
>> I'm not sure what exactly xinetd.cump contains,
> See attached file.
> 
>> but one possibility
>> could be to modify xinetd to use the sd_notify API [1].
> But then it would depend and build-depend on systemd.

Not quite correct. You can either embed or build-depend on
libsystemd-daemon-dev.
There is also no runtime dependency on systemd. The sd_notify API
becomes a NOOP when not run under systemd.

> And the status it's not a line, is a complete dump of the status of all the 
> provided services by xinetd.

I guess this is not quite what the sd_notify API is intended for. So I'd
say, no, what you want is not covered by systemd.

The systemctl status output has a defined and consistent interface
(which is good).

What you might do is have xinetd log that information to stdout and it
will show up in the journal and systemctl status as the last 10 lines.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to