Skip to content
Snippets Groups Projects
  • Tzafrir Cohen's avatar
    07b95f7c
    sd_notify (systemd status notifications) support · 07b95f7c
    Tzafrir Cohen authored
    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
    07b95f7c
    History
    sd_notify (systemd status notifications) support
    Tzafrir Cohen authored
    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