chkconfig vs. /etc/rc.d/init.d/httpd -- what does each do best?

plug-discuss@lists.plug.phoenix.az.us plug-discuss@lists.plug.phoenix.az.us
Mon, 16 Sep 2002 07:24:12 -0500 (CDT)


On Mon, 16 Sep 2002, Mark Berkwitt wrote:

> /etc/rc.d/init.d/httpd  seems to work well for me.  I can start, stop or find 
> the status of apache at will.  I just can't set apache to start at boot.
> 
> I ran 
> # /sbin/chkconfig --add httpd
> then
> # /sbin/chkconfig --list httpd
> httpd	0:off	1:off	2:off	3:off	4:off	5:off	6:off
> 
> What is this, and what function does it provide.
> 
> What is chkconfig for and why should I use it?

chkconfig helps you manage the processes started at boot.  'chkconfig 
--add service' only adds that service to the services that *might* be 
started at the different runlevels.  'chkconfig service on' actually sets 
a particular service to start on the current runlevel.


David


> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> 

-- 
"I find your lack of faith disturbing."
--Darth Vader
---
  7:20am  up 16 days, 21:40,  1 user,  load average: 0.00, 0.00, 0.00