Browse Source

Improve info output

master
Patrick Lühne 2 years ago
parent
commit
07290810a2
Signed by: patrick GPG Key ID: 05F3611E97A70ABF
  1. 8
      github-fast-env/github-fast-envd.rb

8
github-fast-env/github-fast-envd.rb

@ -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…
Cancel
Save