File asterisk.systemd of Package asterisk

[Unit]
Description=Asterisk Daemon
After=network.target

[Service]
EnvironmentFile=-/etc/sysconfig/asterisk
ExecStart=/usr/sbin/asterisk -f $OPTIONS
ExecReload=/usr/bin/kill -HUP $MAINPID
KillMode=process
Restart=always

[Install]
WantedBy=multi-user.target