mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
20 lines
464 B
Desktop File
20 lines
464 B
Desktop File
[Unit]
|
|
Description=Asterisk PBX and telephony daemon.
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
RemainAfterExit=yes
|
|
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
|