This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace :deploy do | |
after :restart, :restart_passenger do | |
on roles(:web), in: :groups, limit: 3, wait: 10 do | |
within release_path do | |
execute :touch, 'tmp/restart.txt' | |
end | |
end | |
end | |
after :finishing, 'deploy:restart_passenger' | |
end |