http://blog.schertz.name/2009/08/ocs-service-startup-shutdown-order/