Configure apachectl to use chkconfig
Add the following lines to /usr/local/apache2/bin/apachectl just after #!/bin/bash:
# chkconfig: - 85 15 # description: Apache is a World Wide Web server. It is used to serve \ # HTML files and CGI.
Then you can do:
ln -s /usr/local/apache2/bin/apachectl /etc/init.d/httpd chkconfig --add httpd chkconfig httpd on service httpd start
