Skip to main content
Participant
February 6, 2018
Question

Installing ColdFusion 2016 with Apache: What to use in substitute of the /etc/init.d/httpd script

  • February 6, 2018
  • 2 replies
  • 497 views

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

This topic has been closed for replies.

2 replies

Community Expert
February 6, 2018

I think the startup script is:

/usr/lib/systemd/system/httpd.service

Dave Watts, CTO, Fig Leaf Software

Dave Watts, Eidolon LLC
Participant
February 6, 2018

Will try /usr/sbin/apachectl