Click to See Complete Forum and Search --> : Starting Apache upon boot


Morph
02-08-2001, 07:53 PM
Hiya,

How do I start APache upon boot? I dont want to have to type /usr/local/apache/bin/apachelt start everytime I log in.

I just want it to start alongside the at daemon cron daemon etc at boot.

I am using Mandrake 7.2 kernel 2.2.17mdk

Thanks in advance

PS dont tell me to RTFM. I have RTFM, searched this BBS and still didnt find TF relevant info ;)

11000
02-08-2001, 07:56 PM
Just a guess.... But try putting it in rc.local? That's where I start portsentry when I boot. Depending on which distro you use... mine's in /etc/rc.d/rc.local

Morph
02-08-2001, 08:03 PM
I htought rc.local was only activated when you log in. I just want to fire up my box and leave it there without loggin in.

11000
02-08-2001, 08:07 PM
What distro are you running? I'm using Slackware 7.1 and /etc/rc.d/rc.local is the last thing that get's run in the init scripts. It's right before the login prompt comes up.