From 72f005e9999b9c991eca20c2589a994f3502acdf Mon Sep 17 00:00:00 2001 From: "Timothy N. Tsvetkov" Date: Mon, 11 Apr 2011 21:07:49 +0400 Subject: [PATCH] restart dj in deploy --- config/deploy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/deploy.rb b/config/deploy.rb index f62ba27e9..e1242959a 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -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 }