Ensure that the services are started/stopped in the correct order.