mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
21 lines
458 B
Desktop File
21 lines
458 B
Desktop File
[Unit]
|
|
Description=Asterisk PBX and telephony daemon
|
|
Documentation=man:asterisk(8)
|
|
Wants=network.target
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=asterisk
|
|
Group=asterisk
|
|
ExecStart=/usr/bin/asterisk -f -C /etc/asterisk/asterisk.conf
|
|
ExecStop=/usr/bin/asterisk -rx 'core stop now'
|
|
ExecReload=/usr/bin/asterisk -rx 'core reload'
|
|
|
|
# safe_asterisk emulation
|
|
Restart=on-failure
|
|
RestartSec=10
|
|
RestartPreventExitStatus=0
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|