Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Community Beginner ,
Feb 06, 2018 Feb 06, 2018

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

473
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 06, 2018 Feb 06, 2018

Will try /usr/sbin/apachectl

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 06, 2018 Feb 06, 2018
LATEST

I think the startup script is:

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

Dave Watts, CTO, Fig Leaf Software

Dave Watts, Eidolon LLC
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources