search for: after_app_deploy

Displaying 1 result from an estimated 1 matches for "after_app_deploy".

2007 Apr 03
2
mongrel cluster restart with capistrano fails but manually works
...do begin run "sudo /etc/init.d/mongrel_cluster stop" run "sleep 5" run "sudo /etc/init.d/mongrel_cluster start" end ... # couple of tasks to chown some files and directories desc "Only app servers get this applied to them post-deployment" task :after_app_deploy, :roles=>:app do sudo "chown -PRf foo:foo #{deploy_to}/current/" sudo "chown -PRf foo:foo #{deploy_to}/releases/" sudo "chmod -Rf 755 #{deploy_to}/releases/" sudo "chmod -Rf 750 #{deploy_to}/current/pu...