tasks/roles/indexer.rake in capistrano-cluster-0.0.17 vs tasks/roles/indexer.rake in capistrano-cluster-0.0.18
- old
+ new
@@ -59,9 +59,10 @@
fetch(:solr_core_files).each do |core_file|
execute :mkdir, "-p", File.dirname("#{solr_data}/#{config[:name]}/#{core_file}")
upload! file("solr/#{core_file}"), "#{solr_data}/#{config[:name]}/#{core_file}"
end
execute :touch, "#{solr_data}/#{config[:name]}/core.properties"
+ sudo "nohup /etc/init.d/solr reload"
end
end if config[:name]
end
end
end