set action for restart