socialforge/script/delayed_job

6 lines
175 B
Plaintext
Raw Normal View History

2016-03-30 12:40:56 +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