bin/can_controls_gateway in tg-can-controls-gateway-0.1.2 vs bin/can_controls_gateway in tg-can-controls-gateway-0.1.3
- old
+ new
@@ -21,9 +21,10 @@
service_url = (args.shift || 'http://gom/services/ccg/home')
puts " .. #{service_url}"
service = nil
daemon = Gom::Remote::Daemon.new(service_url, options) do |daemon, path|
service = CcgRunner.new(path, options)
+ daemon.redirect_log service.logfile
daemon.check_in
end
daemon.background_loop(5) { service.run }
daemon.actor_loop { |daemon| puts " -- gom refresh: #{Time.now}" }