fix template for solar error. gitingore
This commit is contained in:
parent
353039dcd0
commit
8f393e1079
|
@ -14,7 +14,9 @@ public/uploads/**/*
|
||||||
solr/data
|
solr/data
|
||||||
tmp/**/*
|
tmp/**/*
|
||||||
uploads/**/*
|
uploads/**/*
|
||||||
|
config/*.god
|
||||||
|
log/*.gz
|
||||||
|
tmp/restart.txt
|
||||||
*.swp
|
*.swp
|
||||||
*.pid
|
*.pid
|
||||||
*.lck
|
*.lck
|
||||||
|
|
|
@ -9,7 +9,7 @@ development_gid = ''
|
||||||
w.name = "<%= @resque_namespace.nil? ? "" : "#{@resque_namespace}-" %>sunspot-solr"
|
w.name = "<%= @resque_namespace.nil? ? "" : "#{@resque_namespace}-" %>sunspot-solr"
|
||||||
w.group = 'rulingcom'
|
w.group = 'rulingcom'
|
||||||
w.pid_file = "#{rails_root}/solr/pids/production/sunspot-solr-production.pid"
|
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.env = {"RAILS_ENV"=>rails_env,"HOME"=>user_home ,"RAILS_ENV"=>rails_env}
|
||||||
w.start = "rake -f #{rails_root}/Rakefile sunspot:solr:start"
|
w.start = "rake -f #{rails_root}/Rakefile sunspot:solr:start"
|
||||||
w.stop = "sudo kill -KILL $(cat #{w.pid_file})"
|
w.stop = "sudo kill -KILL $(cat #{w.pid_file})"
|
||||||
|
|
Loading…
Reference in New Issue