> Can you run your command like this?
>
>    - ssh m...@the-server.com -c 'cd /opt/project && sh
> /opt/project/etc/start_project.sh
>    start'
>
> which is effectively what Capistrano is doing via Net::SSH.
>

Actually, I can. Running the script that way works perfectly fine,
which is why I'm completely stumped.

I've even tried making a separate script that itself does the cd ...
&& script.sh start, then told
capistrano to do:

run "sh the_starter_script.sh"

but it still doesn't work. For now I think I'm just going to jump back
to the command line and run ssh myself. This doesn't make sense and I
have to imagine I've messed something up somewhere, but just can't
find it.

Thanks

Jason
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to 
capistrano-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to