mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 10:16:01 +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
|
end
|
||||||
|
|
||||||
namespace :delayed_job do
|
namespace :delayed_job do
|
||||||
task :stop do
|
task stop: :environment do
|
||||||
queue "cd #{deploy_to}/current; bin/delayed_job stop"
|
queue "cd #{deploy_to}/current; bin/delayed_job stop"
|
||||||
end
|
end
|
||||||
|
|
||||||
task :start do
|
task start: :environment do
|
||||||
queue "cd #{deploy_to}/current; bin/delayed_job start"
|
queue "cd #{deploy_to}/current; bin/delayed_job start"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue