Sha256: 8480cfabfdb5951277afeba760378da3b79e01d5b0180a9324ecf4d2d9881ccb

Contents?: true

Size: 353 Bytes

Versions: 1

Compression:

Stored size: 353 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 infinite loop
      s.shout

    rescue Errno::EACCES, Exception => e
      abort "EXITING #{e.class}: #{e.message}"
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pushyd-0.3.0 lib/pushyd/daemon.rb