Enable unicorn zero time deploy
This commit is contained in:
parent
95385aefe0
commit
556c2055b4
|
@ -18,8 +18,9 @@ Capistrano::Configuration.instance(:must_exist).load do
|
||||||
run "#{try_sudo} kill -s USR2 `cat #{unicorn_pid}`" rescue warn 'deploy:reload FAILED'
|
run "#{try_sudo} kill -s USR2 `cat #{unicorn_pid}`" rescue warn 'deploy:reload FAILED'
|
||||||
end
|
end
|
||||||
task :restart, :roles => :app, :except => { :no_release => true } do
|
task :restart, :roles => :app, :except => { :no_release => true } do
|
||||||
stop
|
reload
|
||||||
start # blue pill will do it?
|
#stop
|
||||||
|
#start # blue pill will do it?
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue