Hi all,
Since I'm coding LNC every day it makes sense to get apache going on boot. However, trying to get this going through RH6.0's rc scripts is proving less than entertaining :-(
In /etc/rc.d/rc.local I have put the following in:
if [-f /etc/rc.d/init.d/apache ]; then /etc/rc.d/init.d/apache start fi
/etc/rc.d/init.d/apache appears to be the same as other init scripts but obviously catering for apache. The variable pointing at the executable is fine, but then I don't think this is the problem since I don't receive any messages whlie booting.
In fact if I didn't know better, I would think that the code above isn't being executed whatsoever.
Before you ask, ls -l /etc/rc.d/init.d/apache: -rwxr-xr-x 1 root root 504 Oct 8 23:46 apache
Can anyone make sense of this?
Regards,