1833767 Members
2855 Online
110063 Solutions
New Discussion

Apache startup

 
SOLVED
Go to solution
Neerav Kothari
Occasional Contributor

Apache startup

Hi,
What's the best way for me to make apache start on boot up? Thanks.
3 REPLIES 3
Anthony deRito
Respected Contributor

Re: Apache startup

Document ID A3937045 will tell you how to do it. Grab it from the ITRC.

Tony
Rick Garland
Honored Contributor

Re: Apache startup

Create a script that will reside in the rc#.d directories. Has an /sbin/init.d with a link to the /etc/rc.config.d/. The document that is referred to is a good resource.
Anthony Goonetilleke
Esteemed Contributor
Solution

Re: Apache startup

I have included my apache startup script (It also includes the mysql startup so if you dont need this please delete the lines out)

Place this file in /sbin/init.d
make soft links in /sbin/rc3.d/S940apache
make soft links in /sbin/r2.d/K940apache
both pointing to /sbin/init.d/apache

Also create a file in /etc.rc.config.d
called "apache" and have the following lines in it

APACHE_MSQL_START=1;

Minimum effort maximum output!