I have tried running it via ssh, that's the only way it works fully. I log in as the same user that cap is using in my deploy.
On Jul 26, 4:38 pm, Byron Saltysiak <byronsa...@gmail.com> wrote: > 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 <jemmin...@gmail.com> 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 capistrano@googlegroups.com To unsubscribe from this group, send email to capistrano+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.co.uk/group/capistrano?hl=en -~----------~----~----~----~------~----~------~--~---