lib/capistrano-mon.rb in capistrano-mon-0.0.1 vs lib/capistrano-mon.rb in capistrano-mon-0.0.2
- old
+ new
@@ -24,10 +24,13 @@
task(:update, :roles => :app, :except => { :no_release => true }) {
transaction {
_update
}
}
- after 'deploy:update', 'mon:update'
+ # Do not run automatically during normal `deploy' to avoid slow down.
+ # If you want to do so, add following line in your ./config/deploy.rb
+ #
+ # after 'deploy:update', 'mon:update'
task(:_update, :roles => :app, :except => { :no_release => true }) {
configure
restart
}