I don't think it matters too much where you put it. Just add it
somewhere that makes sense.
Then to have it run automatically after deploy you just add an after
call somewhere in the body of your recipe file. So if you were to name
it :restart_services and put it in the :remote namespace, you could do
something like this:

after "deploy:update_code","remote:restart_services"

http://www.capify.org/index.php/Frequently_Asked_Questions#How_do_I_.22hook.22_in_my_methods_to_run_before_or_after_standard_deployment_tasks.3F


-- 
-Nick Howard
http://blog.baroquebobcat.com/

-- 
* 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.com/group/capistrano?hl=en

Reply via email to