not restarting delayed_job
This commit is contained in:
parent
ad61eec876
commit
9a4b3ef92a
|
@ -45,7 +45,7 @@ namespace :deploy do
|
|||
desc "Restarting mod_rails with restart.txt"
|
||||
task :restart, :roles => :app, :except => { :no_release => true } do
|
||||
run "cd #{deploy_to}/current ; ([ -f tmp/pids/unicorn.pid ] && kill -USR2 `cat tmp/pids/unicorn.pid`); true"
|
||||
restart_dj
|
||||
# restart_dj
|
||||
end
|
||||
|
||||
%w(start).each { |name| task name, :roles => :app do deploy.restart end }
|
||||
|
|
Loading…
Reference in New Issue