Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
423 B

[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