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