asterisk/contrib/systemd/asterisk-cli.socket

14 lines
257 B
SYSTEMD

[Unit]
Description=Asterisk Command-line Interface Socket
[Socket]
Service=asterisk.service
ListenStream=/var/run/asterisk/asterisk.ctl
SocketUser=asterisk
SocketGroup=asterisk
SocketMode=0660
[Install]
WantedBy=sockets.target
RequiredBy=asterisk.service