[asterisk-dev] systemd sd_notify() [was: Re: Journald support for Asterisk]

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sun May 10 03:03:06 CDT 2015


On Sat, May 09, 2015 at 10:17:24AM +0200, Ludovic Gasc wrote:
> Hi,
> 
> Systemd and Journald is now by default on Debian Jessie and Ubuntu 15.04,
> as on RHEL/CentOS.
> Journald supports syslog format, nevertheless, at least for us, the
> structured log system provided with journald helps us to debug the
> production.

Slightly off-topic: if anybody wants to implement support for
sd_notify(3)[1] in Asterisk, it would be nice.

Suppose there would be a function called ast_daemon_changed_state()[2] to
notify journald on end of start, start/end of reload and start of end.
Is this information useful to anything else besides notifying systemd
via sd_notify()?

[1] http://www.freedesktop.org/software/systemd/man/sd_notify.html

[2] Bad name, I know.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com



More information about the asterisk-dev mailing list