Improve info output
This commit is contained in:
parent
65df9d8fcc
commit
07290810a2
@ -37,11 +37,11 @@ if File.exist?(control_socket_path) and File.socket?(control_socket_path)
|
||||
File.unlink(control_socket_path)
|
||||
end
|
||||
|
||||
$original_stderr.puts "creating control socket"
|
||||
|
||||
control_server = UNIXServer.new(control_socket_path)
|
||||
File.chmod 0700, control_socket_path
|
||||
|
||||
$original_stderr.puts "serving control socket"
|
||||
|
||||
connection_id = 0
|
||||
|
||||
def open_pipe(path)
|
||||
@ -150,8 +150,12 @@ def set_up_pseudoterminal(control_socket, pseudoterminal_path)
|
||||
control_socket.puts "ready"
|
||||
end
|
||||
|
||||
$original_stderr.puts "preloading common modules"
|
||||
|
||||
load "/usr/lib/github-fast-env/preload.rb"
|
||||
|
||||
$original_stderr.puts "ready to serve requests"
|
||||
|
||||
while true
|
||||
control_socket = control_server.accept
|
||||
$original_stderr.puts "- new connection"
|
||||
|
Loading…
Reference in New Issue
Block a user