only attempt restart if the service exists