Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 9ae3bf5e80
Fetching contributors…

Cannot retrieve contributors at this time

executable file 17 lines (13 sloc) 0.455 kB
#!/usr/bin/env ruby
require 'fileutils'
require File.expand_path('../../lib/a_b_server/gems', __FILE__)
ABServer::Gems.require(:dj)
require 'with_pid'
puts with_pid(
:action => ARGV[0] || 'start', # start or stop
:command => File.expand_path(File.dirname(__FILE__)) + "/runner 'Delayed::Worker.new.start'",
:environment => ARGV[2] || 'development',
:name => "dj",
:pid => "/tmp/delayed_job.a_b_server.#{ARGV[1] || 0}.pid",
:tmp => "/tmp"
)
Jump to Line
Something went wrong with that request. Please try again.