Sha256: e87411a23051b99721a4ed93846611d2a27c52520d64aed03ee0c3b6715bc0a8
Contents?: true
Size: 548 Bytes
Versions: 4
Compression:
Stored size: 548 Bytes
Contents
module PushyDaemon class Daemon def self.run # Create a new proxy p = Proxy.new # Dump config table puts p.table.to_s # Create a new shouter s = Shouter.new # Start shout loop s.shout # Backup infinite loop in case shout does nothing loop do end rescue EndpointConnectionError => e abort "EXITING #{e.class}: #{e.message}" rescue Errno::EACCES, StandardError => e abort "EXITING #{e.class}: #{e.message} \n #{e.backtrace.to_yaml}" end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
pushyd-0.5.3 | lib/pushyd/daemon.rb |
pushyd-0.5.2 | lib/pushyd/daemon.rb |
pushyd-0.5.1 | lib/pushyd/daemon.rb |
pushyd-0.5.0 | lib/pushyd/daemon.rb |