vendor/riddle/lib/riddle/controller.rb in freelancing-god-thinking-sphinx-1.1.24 vs vendor/riddle/lib/riddle/controller.rb in freelancing-god-thinking-sphinx-1.2.0
- old
+ new
@@ -8,10 +8,10 @@
def index
cmd = "indexer --config #{@path} --all"
cmd << " --rotate" if running?
`#{cmd}`
end
-
+
def start
return if running?
cmd = "searchd --pidfile --config #{@path}"
`#{cmd}`
\ No newline at end of file