-   Fedora (
-   -   make a deamon startup at boot time (

kernelvn 10-10-2004 10:16 PM

make a deamon startup at boot time
I've compiled apache , postgreSQL on fedora2 and I have 2 script to start , stop service of 2 those deamon .
With apache , I have httpd script and I put it in /etc/init.d . But I don't know how to start it up at boot time , I don't want to try " service httpd start " each time my computer start . Other way is that I add into /etc/rc.d/rc one line as :
service httdp start

I know that something like chkconfig will fix this problem but when I tried chkconfig --add apache then the return was " service apache does not support chkconfig " . How to fix it ? help me ! !

darthtux 10-10-2004 10:25 PM


kernelvn 10-10-2004 11:00 PM

I do not use GUI sir ! !

darthtux 10-10-2004 11:12 PM

No reason to get huffy, you're the one using fedora ;)

Fedora startup is going to be like red hat.

andres-subway 10-20-2004 06:50 PM

try this
#cd /etc/init.d/
# cp /usr/local/apache2/bin/apachectl httpd
# cd /etc/rc.d/rc5.d/
# ln -s /etc/init.d/httpd S90httpd

Test in Fedora core 2 , service httpd apache2 ... run ok

I hope that you have luck
greetings !!


All times are GMT -5. The time now is 10:20 PM.