calculate stop and start plan for service restart