posted 20 years ago
This sounds mor like a n*x question, but check into the rc scripts.
For example to use postgres as an example, you can accomplish this by adding a symlink to the respective runlevel. i.e. rc3 would be runlevel 3, rc5 is runlevel 5.
ln -s /etc/rc.d/init.d/postgresql /etc/rc.d/rc3.d/S91postgresql
ln -s /etc/rc.d/init.d/postgresql /etc/rc.d/rc5.d/S91postgresql
ln -s /etc/rc.d/init.d/postgresql /etc/rc.d/rc6.d/K22postgresql