not restarting delayed_job

This commit is contained in:
Timothy N. Tsvetkov 2011-04-11 21:02:01 +04:00
parent ad61eec876
commit 9a4b3ef92a
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ namespace :deploy do
desc "Restarting mod_rails with restart.txt" desc "Restarting mod_rails with restart.txt"
task :restart, :roles => :app, :except => { :no_release => true } do 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" run "cd #{deploy_to}/current ; ([ -f tmp/pids/unicorn.pid ] && kill -USR2 `cat tmp/pids/unicorn.pid`); true"
restart_dj # restart_dj
end end
%w(start).each { |name| task name, :roles => :app do deploy.restart end } %w(start).each { |name| task name, :roles => :app do deploy.restart end }