remove debug

This commit is contained in:
rulingcom 2023-07-01 10:31:00 +08:00
parent f48d3dcfbc
commit bc723b1dad
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ class Admin::BoxController < OrbitAdminController
is_not_open = `fuser #{SocketFile}`.gsub(/\n/, '').empty? 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? if !File.exists?(SocketFile) || `ss -elx | grep -w "$(stat -c 'ino:%i dev:0/%d' '#{SocketFile}')"`.blank?
Thread.new do 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 end
sleep 3 sleep 3
end end