mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 02:05:57 +02:00
Load env automatically
This commit is contained in:
parent
b0b9dae596
commit
7a2df77b53
1 changed files with 2 additions and 2 deletions
|
@ -160,11 +160,11 @@ task load_commit_hash: :environment do
|
|||
end
|
||||
|
||||
namespace :delayed_job do
|
||||
task :stop do
|
||||
task stop: :environment do
|
||||
queue "cd #{deploy_to}/current; bin/delayed_job stop"
|
||||
end
|
||||
|
||||
task :start do
|
||||
task start: :environment do
|
||||
queue "cd #{deploy_to}/current; bin/delayed_job start"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue