asterisk/asterisk.service

15 lines
301 B
SYSTEMD
Raw Normal View History

2024-10-23 20:43:06 +02:00
[Unit]
Description=Asterisk PBX
Wants=nss-lookup.target
Wants=network-online.target
After=network-online.target
[Service]
PIDFile=/run/asterisk/asterisk.pid
ExecStart=/usr/sbin/asterisk -fn
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=basic.target
Also=systemd-networkd-wait-online.service