Sha256: f10e82d6bbea3067acafaafa44245a62d6c7e37289fb27a7ff373a938d7a547b
Contents?: true
Size: 370 Bytes
Versions: 7
Compression:
Stored size: 370 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 $PROGRAM_NAME = "ruby spool #{config.name}" Spool::Pool.new(config).start end puts "Pool started (#{pid})"
Version data entries
7 entries across 7 versions & 1 rubygems
Version | Path |
---|---|
spool-1.0.5 | bin/spool |
spool-1.0.4 | bin/spool |
spool-1.0.3 | bin/spool |
spool-1.0.2 | bin/spool |
spool-1.0.1 | bin/spool |
spool-1.0.0 | bin/spool |
spool-0.1.1 | bin/spool |