I have a piece of software with different components running on the same Unix machine (web server, DBMS, middleware, different daemons). Startup of the few components depends on the success of the start of the previous ones (like DBMS). Some of the scripts can be run in the parallel. Is there an elegant approach to be able to control such script dependency and easily use parallelization mechanism as well to make startup of the components as fast as possible.
Similar solutions to the boot script are covered by upstart http://upstart.ubuntu.com/ so I am looking for something similar which would allow me to control own subsystems.