mirror of
https://github.com/asterisk/asterisk.git
synced 2025-08-18 03:56:20 +00:00
This change adds support for socket activation of certain SOCK_STREAM listeners in Asterisk: * AMI / AMI over TLS * CLI * HTTP / HTTPS Example systemd units are provided. This support extends to any socket which is initialized using ast_tcptls_server_start, so any unknown modules using this function will support socket activation. Asterisk continues to function as normal if socket activation is not enabled or if systemd development headers are not available during build. ASTERISK-27063 #close Change-Id: Id814ee6a892f4b80d018365c8ad8d89063474f4d
11 lines
181 B
SYSTEMD
11 lines
181 B
SYSTEMD
[Unit]
|
|
Description=Asterisk Manager Interface TLS Socket
|
|
|
|
[Socket]
|
|
Service=asterisk.service
|
|
ListenStream=0.0.0.0:5039
|
|
|
|
[Install]
|
|
WantedBy=sockets.target
|
|
RequiredBy=asterisk.service
|