Mina also restarts active job daemon

This commit is contained in:
Andres Keskküla 2014-11-12 18:12:17 +02:00
parent 995cfcee9c
commit c7b58d8b06

View file

@ -85,6 +85,8 @@ task deploy: :environment do
to :launch do
queue "mkdir -p #{deploy_to}/current/tmp; touch #{deploy_to}/current/tmp/restart.txt"
queue "RAILS_ENV=production bin/delayed_job stop"
queue "RAILS_ENV=production bin/delayed_job start"
end
end
end