Restarts only if deployed on server