vendor/riddle/lib/riddle/controller.rb in freelancing-god-thinking-sphinx-1.1.3 vs vendor/riddle/lib/riddle/controller.rb in freelancing-god-thinking-sphinx-1.1.4
- old
+ new
@@ -12,10 +12,10 @@
end
def start
return if running?
- cmd = "searchd --config #{@path}"
+ cmd = "searchd --pidfile --config #{@path}"
`#{cmd}`
sleep(1)
unless running?
\ No newline at end of file