LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Running Service On Boot (xbtt) (https://www.linuxquestions.org/questions/linux-newbie-8/running-service-on-boot-xbtt-703909/)

en3r0 02-11-2009 10:49 AM

Running Service On Boot (xbtt)
 
I need to run XBTT on boot on my CentOS 5 server. It shouldn't be harder than placing a script in /etc/rc.d/init.d but I can't seem to write something that works.

I currently have:
Code:

/root/xbt/Tracker/ &
./xbt_tracker

but that is not working. Any suggestions?

jstephens84 02-11-2009 10:57 AM

try using something like
Code:

chkconfig --level 345 xbt on
that should add it to the proper run levels. course in the example above it would add it to level 3 4 5. you might also need to replace xbtt with xbt_tracker


All times are GMT -5. The time now is 11:40 PM.