restart dj in deploy
This commit is contained in:
parent
c7b19db4b6
commit
72f005e999
|
@ -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