mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
20 lines
427 B
Desktop File
20 lines
427 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=always
|
|
RestartSec=10
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|