# File lib/chef/provider/deploy.rb, line 215
      def restart
        if restart_cmd = @new_resource.restart_command
          if restart_cmd.kind_of?(Proc)
            Chef::Log.info("#{@new_resource} restarting app with embedded recipe")
            recipe_eval(&restart_cmd)
          else
            converge_by("restart app using command #{@new_resource.restart_command}") do
              Chef::Log.info("#{@new_resource} restarting app")
              run_command(run_options(:command => @new_resource.restart_command, :cwd => @new_resource.current_path))
            end
          end
        end
      end