Have a look at the scripts in /etc/init.d.
Most of them cover options like "start", "stop", "status" etc.
They are fairly simple Bash scripts, so with the help of your guide, you should be able to understand them.
If you still have trouble or questions, don't hesitate to post back.
You can use /sbin/chkconfig (see it's man page for details) to make your system start certain services (represented by scripts in /etc/init.d) when entering any runlevels you like.
It requires that you put a special comment at the top of the script to indicate the order in which you start the services (ie the service launch order).
Code:
/sbin/chkconfig --list
gives a list of all currently installed services and the runlevels they're configured to run in.
Edit: when you've successfully created the /etc/init.d script, you can launch/stop the service by typing:
Code:
/sbin/service name_of_script start
/sbin/service name_of_script stop