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