Method: Riddle::Controller#start
- Defined in:
- lib/riddle/controller.rb
#start(options = {}) ⇒ Object
50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'lib/riddle/controller.rb', line 50 def start( = {}) return if running? check_for_configuration_file command = "#{searchd} --pidfile --config \"#{@path}\"" command = "#{command} --nodetach" if [:nodetach] exec(command) if [:nodetach] # Code does not get here if nodetach is true. Riddle::ExecuteCommand.call command, [:verbose] end |