How to run a shell script on boot up

Hi,

I'm trying to run a custom application when the server is booted up. Let's say I've located it in a file called myStartup.sh (chmod'ed to execute).

For Red Hat, how do I get get that shell script to be executed in the background as the server boots up. I've tried a number of options with the etc/rc.d folder (edited this file, that file, etc.). Either I'm missing something or many of the instructions I've seen seem to have different ways of doing things. With the slight exception that none of them worked for me...

Detailed suggestions would be greatly appreciated! Even an accurate link would be greatly appreciated!

Regards,
Steph

 

 

 

 

Top