No that is not what your should be doing.
Linux already has built in run level's to allow to have programs start at different times. (Runlevels are like safemode for windows)
For example run level3 is normal mode why level1 is safe mode. Now if your running X windows then level 5 is normal mode.
Now depending on what flavor of linux you have you can either be using the system V init or the free bsd type.
Assuming that its a system V start up you will look in your etc directory and notice the
Look in that directory and you will notice a bunch of startup scripts these are the scripts that are used to start the proccess at different run levels.
Now look back in etc and look for directorys that start with rc
If you look those directories you will find symbolic links to the init.d directory I showed you ealier. Depending on what runlevel you are starting (3 for consol only and 5 for xwindows) by using the name convention it will tell you what process's start and what ones should be killed.
so a symbolic link called S80httpd
means start your web service (apache in my case) after all other scripts with lower number than 80.
Get it and K would mean kill that service, and thats used if you switch from one runlevel to another. So if your going from runlevel 3 to 1 it will kill all the proccess's then go to one.
YOu can switch runlevels by typeing init "runlevelwanted".
Before I go into more detail here is a good link you can check out and come back if you need more help
One thing you will have to understand is the scripts are written in a certain way so linux can understand how to use them. You can modify there runlevels by hand or by a the chkconfig command. If this is a homade script this may not work perfectly and you may want to look into the rc.d file that will run after all the other runlevel process's.