diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2016-06-27 21:26:54 +0200 |
---|---|---|
committer | George Joseph <gjoseph@digium.com> | 2016-09-20 08:00:14 -0600 |
commit | 36092ee3a087e6c37bf4efcd101b324f1ba9fada (patch) | |
tree | ac29aa9d7f96cf21b20418f4990ea79d2d561ced /CHANGES | |
parent | 34461b89ace3742056100bb226a3c0c2d90ca5ff (diff) |
sd_notify (systemd status notifications) support
sd_notify() is used to notify systemd of changes to the status of the
process. This allows the systemd daemon to know when the process
finished loading (and thus only start another program after Asterisk has
finished loading).
To use this, use a systemd unit with 'Type=notify' for Asterisk.
This commit also adds the function ast_sd_notify(), a wrapper around
sd_notify that does nothing if not built with systemd support.
Also adds support for libsystemd detection in the configure script.
Change-Id: Ied6a59dafd5ef331c5c7ae8f3ccd2dfc94be7811
(cherry picked from commit 07b95f7c65b7c083724f1af2b26f93cc22cad58c)
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -77,6 +77,12 @@ app_confbridge instance, allows a channel to immediately exit the ConfBridge without having to wait for a leave announcement to play. +Core +------------------ + * If Asterisk is built with systemd support, and run under systemd, it will + notify systemd of its state using sd_notify. Use 'Type=notify' in + asterisk.service. + ------------------------------------------------------------------------------ --- Functionality changes from Asterisk 13.10.0 to Asterisk 13.11.0 ---------- ------------------------------------------------------------------------------ |