asterisk: send SIGHUP on reload

asterisk reloads its config upon SIGHUP, use it.

Signed-off-by: Andre Heider <a.heider@gmail.com>
This commit is contained in:
Andre Heider 2021-11-04 08:15:50 +01:00 committed by Sebastian Kemper
parent d080a6ec0e
commit c84e2f7414

View File

@ -61,3 +61,7 @@ start_service() {
procd_close_instance
}
reload_service() {
procd_send_signal $NAME
}