lib/negroku/tasks/unicorn.rake in negroku-2.0.3 vs lib/negroku/tasks/unicorn.rake in negroku-2.1.0
- old
+ new
@@ -81,15 +81,9 @@
after 'deploy:published', 'restart' do
invoke 'negroku:unicorn:setup'
invoke 'unicorn:restart'
end
- after 'env:changed', 'hard-restart' do
- invoke 'unicorn:stop'
- sleep 5
- invoke 'unicorn:start'
- end
-
# Ensure the folders needed exist
after 'deploy:check', 'deploy:check:directories' do
on release_roles fetch(:unicorn_roles) do
execute :mkdir, '-pv', "#{shared_path}/config"
execute :mkdir, '-pv', "#{shared_path}/tmp/sockets"