socialforge/script/delayed_job

6 lines
175 B
Plaintext
Raw Normal View History

2015-03-31 11:42:36 +08:00
#!/usr/bin/env ruby
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'config', 'environment'))
require 'delayed/command'
Delayed::Command.new(ARGV).daemonize