On Mon, Jan 07, 2008 at 08:06:16PM -0800, bigbanger wrote:
> I'm pretty new to Rails and Capistrano, but I have managed to get my
> application deployed to a remote server with Capistrano.  What I'd
> like to do next is automate the start/stop of the ferret DRb process,
> but I'm not sure how to modify the cap deploy recipe(s) to make that
> happen.  Can anyone point me in the right direction?

You probably want something like this:

before "deploy:start" do
  # start DRb
end

after "deploy:stop" do
  # stop DRb
end

before "deploy:restart" do
  # restart DRb
end

--Greg


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to