class ThinkingSphinx::Commands::StartDetached

Public Instance Methods

call() click to toggle source
# File lib/thinking_sphinx/commands/start_detached.rb, line 4
def call
  FileUtils.mkdir_p configuration.indices_location unless skip_directories?

  result = controller.start :verbose => options[:verbose]

  if command :running
    log "Started searchd successfully (pid: #{controller.pid})."
  else
    handle_failure result
  end
end

Private Instance Methods

type() click to toggle source
# File lib/thinking_sphinx/commands/start_detached.rb, line 18
def type
  'start'
end