mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
20 lines
443 B
SYSTEMD
20 lines
443 B
SYSTEMD
|
[Unit]
|
||
|
Description=Asterisk PBX and telephony daemon.
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
Environment=HOME=/var/lib/asterisk
|
||
|
WorkingDirectory=/var/lib/asterisk
|
||
|
User=asterisk
|
||
|
Group=asterisk
|
||
|
PIDFile=/run/asterisk/asterisk.pid
|
||
|
ExecStart=/usr/sbin/asterisk -C /etc/asterisk/asterisk.conf
|
||
|
ExecStop=/usr/sbin/asterisk -rx 'core stop now'
|
||
|
ExecReload=/usr/sbin/asterisk -rx 'core reload'
|
||
|
|
||
|
PrivateTmp=true
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|