fix template for solar error. gitingore
This commit is contained in:
parent
353039dcd0
commit
8f393e1079
|
@ -14,7 +14,9 @@ public/uploads/**/*
|
|||
solr/data
|
||||
tmp/**/*
|
||||
uploads/**/*
|
||||
|
||||
config/*.god
|
||||
log/*.gz
|
||||
tmp/restart.txt
|
||||
*.swp
|
||||
*.pid
|
||||
*.lck
|
||||
|
|
|
@ -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})"
|
||||
|
|
Loading…
Reference in New Issue