LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   server startup program (https://www.linuxquestions.org/questions/linux-software-2/server-startup-program-732344/)

ust 06-11-2009 08:50 PM

server startup program
 
I have a Redhat server , I want to run a program everytime when server reboot , I know I can add it to /etc/rc.d/init.d or /etc/inittab , can advise what is the difference ? where should I put my program ? thx

sonnik 06-11-2009 11:52 PM

I usually just put applications I want ran at system startup in /etc/rc.d/rc.local

If it needs an elaborate startup, I create a shell script to do the work for me and have rc.local run that.


All times are GMT -5. The time now is 08:28 PM.