Skip to content
Snippets Groups Projects
Commit 9cc66fc1 authored by Ivan Poddubny's avatar Ivan Poddubny Committed by Asterisk Development Team
Browse files

asterisk.c: Fix sending incorrect messages to systemd notify

Send "RELOADING=1" instead of "RELOAD=1" to follow the format
expected by systemd (see sd_notify(3) man page).

Do not send STOPPING=1 in remote console mode:
attempting to execute "asterisk -rx" by the main process leads to
a warning if NotifyAccess=main (the default) or to a forced termination
if NotifyAccess=all.

(cherry picked from commit d3ff7c3eee6f1130b20e640f5fb60da7c797ebe1)
parent 942972b2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment