[Unit] Description=FreePBX VoIP Server {% if fpbx_db_server == 'localhost' or fpbx_db_server == '127.0.0.1' %} Requires=mariadb.service {% endif %} [Service] Type=forking ExecStart=/usr/local/bin/fwconsole start -q ExecStop=/usr/local/bin/fwconsole stop -q ExecReload=/usr/local/bin/fwconsole reload -q SyslogIdentifier=FreePBX Restart=on-failure StartLimitInterval=0 RestartSec=30 [Install] WantedBy=multi-user.target