smeserver-freepbx/root/usr/lib/systemd/system/freepbx.service

20 lines
393 B
SYSTEMD
Raw Normal View History

[Unit]
Description=FreePBX VoIP Server
Requires=mariadb.service
[Service]
Type=forking
ExecStartPre=/sbin/e-smith/service-status freepbx
ExecStart=/usr/sbin/fwconsole start -q
ExecStop=/usr/sbin/fwconsole stop -q
ExecReload=/usr/sbin/fwconsole reload -q
SyslogIdentifier=FreePBX
Restart=on-failure
StartLimitInterval=0
RestartSec=30
[Install]
WantedBy=multi-user.target sme-server.target