Sha256: 6f4a2f4601b33ea874b408cccc389d724ad2cd99bdfc38fb4bebacad96010798

Contents?: true

Size: 393 Bytes

Versions: 8

Compression:

Stored size: 393 Bytes

Contents

#!/usr/bin/env ruby
# -*- encoding: binary -*-

require 'daemons'
require 'vtools'

VTools::Options.parse! ARGV

options = {:multiple => true}

if VTools::CONFIG[:logging]
  options[:backtrace] = true
  options[:log_output] = true
  options[:log_dir] = VTools::CONFIG[:PWD]
end


# daemonize server
Daemons.run_proc 'harvester', options do
  # start process
  VTools::Harvester.daemonize!
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
vtools-1.0.2 bin/vtools
vtools-1.0.1 bin/vtools
vtools-1.0.0 bin/vtools
vtools-0.1.1 bin/vtools
vtools-0.1.0 bin/vtools
vtools-0.0.3 bin/vtools
vtools-0.0.2 bin/vtools
vtools-0.0.1 bin/vtools