mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
Mina also restarts active job daemon
This commit is contained in:
parent
995cfcee9c
commit
c7b58d8b06
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue