LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   make a deamon startup at boot time (http://www.linuxquestions.org/questions/fedora-35/make-a-deamon-startup-at-boot-time-241180/)

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

system-config-services

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.
http://www.redhat.com/docs/manuals/linux/

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 !!

Andres-Subway


All times are GMT -5. The time now is 03:44 AM.