initial commit of file from CVS for smeserver-freepbx on Sat Sep 7 20:25:35 AEST 2024
This commit is contained in:
19
root/usr/lib/systemd/system/freepbx.service
Normal file
19
root/usr/lib/systemd/system/freepbx.service
Normal file
@@ -0,0 +1,19 @@
|
||||
[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
|
Reference in New Issue
Block a user