initial commit of file from CVS for smeserver-freepbx on Sat Sep 7 20:25:35 AEST 2024
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
[Service]
|
||||
ExecStart=
|
||||
ExecStart=/dev/null
|
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
|
21
root/usr/lib/systemd/system/httpd-fpbx.service
Normal file
21
root/usr/lib/systemd/system/httpd-fpbx.service
Normal file
@@ -0,0 +1,21 @@
|
||||
[Unit]
|
||||
Description=The Koozali SME Server FreePBX web service
|
||||
After=network.service remote-fs.target
|
||||
Documentation=man:httpd(8)
|
||||
Documentation=man:apachectl(8)
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
EnvironmentFile=/etc/sysconfig/httpd
|
||||
ExecStartPre=/sbin/e-smith/service-status httpd-fpbx
|
||||
ExecStartPre=/sbin/e-smith/expand-template /etc/httpd/fpbx-conf/httpd.conf
|
||||
ExecStart=/usr/sbin/httpd -f /etc/httpd/fpbx-conf/httpd.conf -DFOREGROUND
|
||||
ExecReload=/usr/sbin/httpd -f /etc/httpd/fpbx-conf/httpd.conf -k graceful
|
||||
ExecStop=/bin/kill -WINCH ${MAINPID}
|
||||
KillSignal=SIGCONT
|
||||
PrivateTmp=true
|
||||
|
||||
|
||||
[Install]
|
||||
WantedBy=sme-server.target
|
||||
|
Reference in New Issue
Block a user