Modifying deploy recipe for ferret DRb?

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?