running httpd at startup

Mike Hornung mike at boobaz.net
Fri Jun 2 13:14:44 PDT 2000


I've never used Mandrake but I know it's based on RedHat and RedHat has
this tool called 'chkconfig' which you can use:

chkconfig --list httpd
httpd 0:off 1:off 2:off 3:off 4:on 5:off 6:off

chkconfig --level 35 httpd on

or just 'chkconfig' for basic usage.

---------------------------
-=<(| mike at boobaz.net |)>=-

On Fri, 2 Jun 2000, Benjamin Honsinger wrote:

|Hey, I just wanted to double check that I'm doing the right thing. I've got
|Mandrake 6.1. I want to run httpd at startup, I think I can do that by adding
|this line to rc.local
|
|/etc/rc.d/init.d/httpd start
|
|Is that correct? Or am I supposed to be doing something else entirely? I had
|thought that there was an entry somewhere that the person who helped me setup
|this computer commented out because I didn't need a web server then, but I
|can't find it. Anyway this is probably a dumb question, but it shouldn't take
|someone long to answer it. 
|Thanks!
|
|- Benjamin
|



More information about the Linux mailing list