remove debug
This commit is contained in:
parent
f48d3dcfbc
commit
bc723b1dad
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue