Sha256: 54f03f71aa43b3c99550ee91e3140c755f827315ffa7fbc5a54ad285fa7684ea
Contents?: true
Size: 631 Bytes
Versions: 2
Compression:
Stored size: 631 Bytes
Contents
#!/usr/bin/env ruby # -*- encoding: binary -*- ENV["RACK_ENV"] ||= "development" require 'optparse' require "resque/forker" require "resque/master" options = Resque::Master.optparse! options = Resque::Master.process(options[:config]).merge(options) if options[:config] options = Resque::Master.defaults.merge(options) Resque::Master.setup(options) if options[:daemon] STDERR.puts "[Warning]: running without dropping a pid file #{Process.pid}" if options[:pidfile].nil? STDERR.puts "[Warning]: running daemon in #{options[:runpath]}" if options[:runpath] == '/' Resque::Master.daemonize(options) else Resque.fork! end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
resque-forker-2.1.0 | bin/resque-ctl |
resque-forker-2.0.0 | bin/resque-ctl |