Closed JoseGoncalves closed 3 weeks ago
Good point @JoseGoncalves
Yes httpd should replace with apache2 so modified the freepbx spec file.
After=apache2.service
We have seen the issues where both apache2 and freepbx was trying to start at the same time which was causing issue in apache2 specially in low footprint memory systems.
as Centos we were using logic of starting freepbx after httpd so i think we can go in the same path i.e. start the apache2 first and then freepbx.
Once I publish the new freepbx rpm, then will modify the script. thanks
FreePBX Version
FreePBX 17
Issue Description
In the FreePBX 17 install script I see this snippet:
that changes the
apache2.service
file to forceapache2.service
to start after thefreepbx.service
.Nevertheless, in
freepbx.service
file shipped in thefreepbx17
package, there is this:which is to configure for the
freepbx.service
to start afterhttpd.service
.httpd.service
does not exist in Debian (is a CentOS service), so that is another issue, but the reason why I raised this issue is to know in which order do the FreePBX team want do enforce the start of apache and freepbx services?What makes sense to me is that
freepbx.service
is started afterapache2.service
.If that is also the FreePBX team understanding, the previous install script's snippet should be removed and the
freepbx.service
file shipped in thefreepbx17
package should be corrected, to replacehttpd.service
withapache2.service
.Operating Environment
Debian 12 freepbx17 17.1-1.sng12
Relevant log output
No response