diff --git a/app/controllers/admin/box_controller.rb b/app/controllers/admin/box_controller.rb index 99b4a30..4f913fe 100644 --- a/app/controllers/admin/box_controller.rb +++ b/app/controllers/admin/box_controller.rb @@ -9,7 +9,7 @@ class Admin::BoxController < OrbitAdminController is_not_open = `fuser #{SocketFile}`.gsub(/\n/, '').empty? if !File.exists?(SocketFile) || `ss -elx | grep -w "$(stat -c 'ino:%i dev:0/%d' '#{SocketFile}')"`.blank? Thread.new do - `#{Binary} --unixdomain-only #{SocketFile}:$USER:$USER:0666 --disable-ssl --debug --css #{CSSFile}` + `#{Binary} --unixdomain-only #{SocketFile}:$USER:$USER:0666 --disable-ssl --css #{CSSFile}` end sleep 3 end