lib/capistrano/tasks/passenger.cap in capistrano-passenger-0.0.1 vs lib/capistrano/tasks/passenger.cap in capistrano-passenger-0.0.2
- old
+ new
@@ -1,8 +1,9 @@
namespace :deploy do
desc 'Restart application'
task :restart do
on roles(fetch(:passenger_roles)), in: fetch(:passenger_restart_runner), wait: fetch(:passenger_restart_wait), limit: fetch(:passenger_restart_limit) do
+ execute :mkdir, '-p', release_path.join('tmp')
execute :touch, release_path.join('tmp/restart.txt')
end
end
after :publishing, :restart
end