fix template for solar error. gitingore

This commit is contained in:
Matt K. Fu committed 2013-08-28 10:37:19 +08:00
1 parent 353039dcd0
commit 8f393e1079
2 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ development_gid = ''
w.name = "<%= @resque_namespace.nil? ? "" : "#{@resque_namespace}-" %>sunspot-solr"
w.group = 'rulingcom'
w.pid_file = "#{rails_root}/solr/pids/production/sunspot-solr-production.pid"
w.interval = 30.seconds
w.env = {"RAILS_ENV"=>rails_env,"HOME"=>user_home ,"RAILS_ENV"=>rails_env}
w.start = "rake -f #{rails_root}/Rakefile sunspot:solr:start"
w.stop = "sudo kill -KILL $(cat #{w.pid_file})"