fix COOK-2812 allow block for restart_command
Merge pull request #26 from hungryblank/fix-COOK-2812

fix COOK-2812 allow block for restart_command