Restart services in the right order