# File lib/chef/expander/vnode_supervisor.rb, line 73
      def self.start
        @vnode_supervisor = new
        trap_signals

        Expander.init_config(ARGV)

        log.info("Chef Search Expander #{Expander.version} starting up.")

        begin
          AMQP.start(Expander.config.amqp_config) do
            start_consumers
          end
        rescue AMQP::Error => e
          if e.message =~ COULD_NOT_CONNECT
            log.error { "Could not connect to rabbitmq. Make sure it is running and correctly configured." }
            log.error { e.message }

            AMQP.hard_reset!

            sleep 5
            retry
          else
            raise
          end
        end
      end