From c041191aea13e6ce97c1fbea321e2d2f9c0c2cdc Mon Sep 17 00:00:00 2001 From: yafeilee Date: Sun, 24 Apr 2016 17:04:17 +0800 Subject: [PATCH] deploy file update --- config/deploy.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/deploy.rb b/config/deploy.rb index 5706a71..6082d3f 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -49,7 +49,9 @@ task :deploy => :environment do invoke :'rails:assets_precompile' to :launch do - invoke :'puma:restart' + # Insure puma is start when restart it + invoke :'puma:start' + invoke :'puma:phased_restart' invoke :'sidekiq:restart' end