I'm trying to run acts_as_solr from capistrano which I thought would
be simple. I'm running solr as it's bundled with the plugin (i.e. rake
solr:start).
Everthing works find if I ssh to the server and run 'rake solr:start',
but it shuts down immediately after the cap task that starts it when I
try to do it through capistrano. Anyone have any idea why this would
happen? Below is my task.
desc "start solr"
task :start_solr, :roles => :app do
run "cd #{deploy_to}/current && rake solr:start RAILS_ENV=production
</dev/null >/dev/null 2>&1"
end
after 'deploy:symlink', 'start_solr'
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---