Is there really a restart task in switchtower? How do you in


#1

I just created a new rails project “test”.

I then did “switchtower --apply-to ~/user/test test”

I then moved into test and tried “rake restart” and got:

kfelkins@lurch:~/user/test$ rake restart
(in /home/kfelkins/user/test)
rake aborted!
Don’t know how to build task ‘restart’

I see restart in deploy. Can restart be invoked from the command line?

-Kelly


#2

Kelly F. wrote:

I just created a new rails project “test”.

I then did “switchtower --apply-to ~/user/test test”

I then moved into test and tried “rake restart” and got:

kfelkins@lurch:~/user/test$ rake restart
(in /home/kfelkins/user/test)
rake aborted!
Don’t know how to build task ‘restart’

I see restart in deploy. Can restart be invoked from the command line?

-Kelly

how about:
rake remote_exec ACTION=restart
?


Agnieszka F.


#3

Thank you.

-Kelly


#4

On 2/22/06, Kelly F. removed_email_address@domain.invalid wrote:

kfelkins@lurch:~/user/test$ rake restart
(in /home/kfelkins/user/test)
rake aborted!
Don’t know how to build task ‘restart’

I see restart in deploy. Can restart be invoked from the command line?

I think you may need the following instead…

$ rake remote_exec ACTION=restart

I’m always forgetting that.


Jack Baty
Fusionary Media - http://www.fusionary.com