asterisk / asterisk

The official Asterisk Project repository.
https://www.asterisk.org
Other
1.97k stars 924 forks source link

asterisk.c: Fix sending incorrect messages to systemd notify #730

Closed ipoddubny closed 1 week ago

ipoddubny commented 1 week ago

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.

ipoddubny commented 1 week ago

cherry-pick-to: 18 cherry-pick-to: 20 cherry-pick-to: 21 cherry-pick-to: certified/18.9 cherry-pick-to: certified/20.7

github-actions[bot] commented 1 week ago

Successfully merged to branch master and cherry-picked to ["18","20","21","certified/18.9","certified/20.7"]