From 76c2048a29bed667fefee1bd5414e4318362e442 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Tue, 2 Jun 2015 20:13:30 +0800 Subject: [PATCH] small fix --- app/controllers/admin/store_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/admin/store_controller.rb b/app/controllers/admin/store_controller.rb index e8198ab..a338073 100644 --- a/app/controllers/admin/store_controller.rb +++ b/app/controllers/admin/store_controller.rb @@ -35,6 +35,8 @@ class Admin::StoreController < OrbitAdminController response = http.request(request) data = JSON.parse(response.body) render :json => data.to_json + %x(kill -s USR2 `cat tmp/pids/unicorn.pid`) + sleep 5 end def authorize_default_modules