Sha256: 3745ea29d1520389ff67d10b7c33e8ca1d14ba38b36478c5d1a0e62fc4022232

Contents?: true

Size: 324 Bytes

Versions: 1

Compression:

Stored size: 324 Bytes

Contents

#!/usr/bin/env ruby

if ARGV.empty? || !File.exists?(ARGV.first)
  puts "Invalid pool specification file: #{ARGV.first}"
  exit 1
end

pid = fork do
  require File.expand_path('../lib/spool', File.dirname(__FILE__))
  config = Spool::DSL.configure ARGV.first
  Spool::Pool.new(config).start
end

puts "Pool started (#{pid})"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spool-0.0.1 bin/spool