Sha256: 442472aba8a7f566552c001e0a5391206834cff870908ed4ddfcea4a3f3cb845

Contents?: true

Size: 447 Bytes

Versions: 7

Compression:

Stored size: 447 Bytes

Contents

#!/usr/bin/env ruby

require 'opener/daemons'
require 'opener/core/resource_switcher'

require_relative '../lib/opener/property_tagger'

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::PropertyTagger, options)

switcher.install(switcher_opts)
daemon.start

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
opener-property-tagger-2.2.6 exec/property-tagger.rb
opener-property-tagger-2.2.5 exec/property-tagger.rb
opener-property-tagger-2.2.4 exec/property-tagger.rb
opener-property-tagger-2.2.3 exec/property-tagger.rb
opener-property-tagger-2.2.2 exec/property-tagger.rb
opener-property-tagger-2.2.1 exec/property-tagger.rb
opener-property-tagger-2.2.0 exec/property-tagger.rb