lib/negroku/tasks/unicorn.rake in negroku-2.0.0.pre6 vs lib/negroku/tasks/unicorn.rake in negroku-2.0.0.pre7
- old
+ new
@@ -81,10 +81,10 @@
after 'deploy:publishing', 'restart' do
invoke 'negroku:unicorn:setup'
invoke 'unicorn:restart'
end
- before 'env:changed', 'hard-restart' do
+ after 'env:changed', 'hard-restart' do
invoke 'unicorn:stop'
sleep 5
invoke 'unicorn:start'
end