Try running the script through ssh. I don't you problem is capistrano but the difference in shell/env when you exec remotely vs login and run something locally.
On 7/26/09, jemminger <[email protected]> wrote: > > I'm trying to call a script I wrote to manage solr via: > > task :start do > sudo "/etc/init.d/solr start" > end > > > If I do so through cap, it outputs that everything went OK but ps on > the server shows no process. > > Running the same command "sudo /etc/init.d/solr start" on the server > gives the same output, but the process exists in ps. > > What's going wrong? > > > > -- Sent from my mobile device Byron --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Capistrano" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.co.uk/group/capistrano?hl=en -~----------~----~----~----~------~----~------~--~---
