Hmmm. Since I have no other ideas...

Sorry if this sounds bad but I'm not sure you understand what I meant.
I meant using ssh to run a single command like:

ssh $server $cmd

example:
ace ~$ ssh him "hostname"
him.saltylabs.com

ace ~$ hostname
ace.saltylabs.com

ace ~$

I didn't mean ssh'ing into the box and running everything
interactively in a shell.


On Sun, Jul 26, 2009 at 9:13 PM, jemminger<[email protected]> wrote:
>
> 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 <[email protected]> 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 <[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
> >
>



-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to