summaryrefslogtreecommitdiff
path: root/makeopts.in
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2016-06-27 21:26:54 +0200
committerGeorge Joseph <gjoseph@digium.com>2016-09-20 08:12:38 -0600
commit29e096cd13f2a927006ba491dfdae1d900b11b10 (patch)
tree53cbb385b8371f5b56dc06130cbe385ad8be5e95 /makeopts.in
parentb56717b39651e2069500076d8c6aa54bf22da7f1 (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 'makeopts.in')
-rw-r--r--makeopts.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/makeopts.in b/makeopts.in
index 8583e1946..d674355a9 100644
--- a/makeopts.in
+++ b/makeopts.in
@@ -256,6 +256,10 @@ RT_LIB=@RT_LIB@
SS7_INCLUDE=@SS7_INCLUDE@
SS7_LIB=@SS7_LIB@
+HAVE_SYSTEMD=@PBX_SYSTEMD@
+SYSTEMD_INCLUDE=@SYSTEMD_INCLUDE@
+SYSTEMD_LIB=@SYSTEMD_LIB@
+
OPENR2_INCLUDE=@OPENR2_INCLUDE@
OPENR2_LIB=@OPENR2_LIB@