Hello,
I'm using now Thin as a web server, and I've added a new task to my config/deploy.rb Basically I want to stop the servers and start again, and for testing purposes, also I want to disable the web before and enable it after the restarted. I'm having problems trying to use the cap deploy:web:disable / enable, if I use only the run "thin stop -C /etc/thin/xxxxxx.yml" and run "thin start -C /etc/thin/xxxxxx.yml" all works perfect. How I can do it ? I've tried using the cap shell but without luck ... here is my task: ---------------------------------------------------------------------------- desc "Stops and restarts de Thin Servers of xxxxxxxxx" task :restart do run "cap deploy:web:disable" run "thin stop -C /etc/thin/xxxxxx.yml" run "thin start -C /etc/thin/xxxxxx.yml" run "cap deploy:web:enable" end and also, how I can see the tasks of capistrano, for creating new ones based on them ? I want to customize the maintenance.html page. I suppose If I create some tasks with the same name as the ones currently defines, capistrano will take mines ? thanks, r. --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
