Sha256: eb1aed76f2a60a38953234a8df85ab86e16d35552c5dc6adcaa1570979ce3b71
Contents?: true
Size: 449 Bytes
Versions: 6
Compression:
Stored size: 449 Bytes
Contents
#!/usr/bin/env ruby require 'opener/daemons' require 'opener/core/resource_switcher' require_relative '../lib/opener/opinion_detector' switcher = Opener::Core::ResourceSwitcher.new switcher_opts = {} parser = Opener::Daemons::OptParser.new do |opts| switcher.bind(opts, switcher_opts) end options = parser.parse!(ARGV) daemon = Opener::Daemons::Daemon.new(Opener::OpinionDetector, options) switcher.install(switcher_opts) daemon.start
Version data entries
6 entries across 6 versions & 1 rubygems