trying to restart the server after language change

This commit is contained in:
Harry Bomrah 2014-10-24 14:49:23 +08:00
parent bc95f77f87
commit a81f7576b6
1 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,8 @@ class Admin::SitesController < OrbitAdminController
else
redirect_to :back
end
%x(kill -s USR2 `cat tmp/pids/unicorn.pid`)
sleep 5
end
def update_manager