This commit is contained in:
Nicolas Bally 2020-11-29 19:25:00 +01:00
parent f28c6c2457
commit 6fe183d2f7

View File

@ -7,7 +7,7 @@ class Admin::IHebergementsController < ApplicationController
before_filter :admin_space, :except => :restart_support
def restart_support
def support_app
r = "nohup sh -c 'sudo systemctl stop quartz_app@support_app && sudo systemctl start quartz_app@support_app && sudo service nginx reload' > /dev/null 2>&1 &"
puts r
puts Bundler.clean_system(r)