Copy link to clipboard
Copied
Folks,
I am installing ColdFusion on RedHat 7 and the installer poses an interesting question:
Where is the control file that you use to start and stop the Apache web server (For example, this could be /etc/init.d/httpd on Red Hat Linux if you installed from an rpm, usr/sbin/apache2ctl on SuseLinux, /usr/sbin/apache2ctl on Ubuntu or it could be /usr/local/apache/bin/apachectl on hand-compiled versions).
The fact is, as of RedHat 7+, there is no /etc/inti.d script for apache and other services. It now uses the systemctl command system (ex: systemctl start (stop, reload, etc) httpd
So, do I need to make a bash wrapper script for ColdFusion 2016, is there a workaround. Is there a commend sequence I can give?
Please Advise.
Jonah
Copy link to clipboard
Copied
Will try /usr/sbin/apachectl
Copy link to clipboard
Copied
I think the startup script is:
/usr/lib/systemd/system/httpd.service
Dave Watts, CTO, Fig Leaf Software