# File lib/thin/daemonizing.rb, line 92
    def restart
      if @on_restart
        log_info 'Restarting ...'
        stop
        remove_pid_file
        @on_restart.call
        EM.next_tick { exit! }
      end
    end