fix COOK-2812 allow block for restart_command
fix COOK-2812 allow block for restart_command

h4ck3rm1k3/application,hussainaphroj/application,poise/application,edmunds-chef/application,SocialCentivPublic/application,javrasya/application,chenliu0831/application