From ec3d5f3208eab0aa40bff0771a14b736f376273e Mon Sep 17 00:00:00 2001 From: r888888888 Date: Thu, 9 Jun 2016 12:07:31 -0700 Subject: [PATCH] add explicit unicorn stop/start on deploy --- Capfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Capfile b/Capfile index c2c5f1a21..50e602398 100644 --- a/Capfile +++ b/Capfile @@ -13,4 +13,5 @@ require 'capistrano3/unicorn' # Load custom tasks from `lib/capistrano/tasks` if you have any defined Dir.glob('lib/capistrano/tasks/*.cap').each { |r| import r } -after "deploy:published", "unicorn:reload" +after "deploy:published", "unicorn:stop" +after "deploy:published", "unicorn:start"