Linux.com

chkconfig use

Posted by: Anonymous Coward on October 04, 2006 09:03 PM
To disable apache on a redhat-based disto, you must use : "chkconfig httpd off". You must *NOT* use "chkconfig --remove httpd".
The "remove" option removes the service from chkconfig's control. That will do what you want until httpd is upgraded, when the rpm will run chkconfig --add httpd and thus re-enable it.

So chkconfig's use is :
chkconfig httpd on : enables the service
chkconfig httpd off : disables the service

the --add and --remove options should only be used in the rpm scriptlets, never manually.

#

Return to Keep your Web site online with a High Availability Linux Apache cluster