# File lib/riddle/controller.rb, line 63
    def stop(options = {})
      return true unless running?
      check_for_configuration_file

      stop_flag = 'stopwait'
      stop_flag = 'stop' if Riddle.loaded_version.split('.').first == '0'
      command = %(#{searchd} --pidfile --config "#{@path}" --#{stop_flag})

      result = Riddle::ExecuteCommand.call command, options[:verbose]
      result.successful = !running?
      result
    end