asterisk-install-debian8-systemdscript

asterisk.service
[Unit]
Description=Asterisk PBX
After=network.target
 
[Service]
User=asterisk
Group=asterisk
Environment=HOME=/var/lib/asterisk
WorkingDirectory=/var/lib/asterisk
ExecStart=/usr/sbin/asterisk -f -C /etc/asterisk/asterisk.conf
ExecStop=/usr/sbin/asterisk -rx 'core stop now'
ExecReload=/usr/sbin/asterisk -rx 'core reload'
 
[Install]
WantedBy=multi-user.target
  • asterisk-install-debian8-systemdscript.txt
  • Последнее изменение: 2020/03/10 16:39
  • (внешнее изменение)