fix script call for startproc, removing "env" hack
[opensuse:build-service.git] / src / api / script / delayed_job
1 #!/usr/bin/ruby
2
3 require File.expand_path(File.join(File.dirname(__FILE__), '..', 'config', 'environment'))
4 require File.join(RAILS_ROOT, 'lib/workers/status_monitor_job.rb')
5 require 'delayed/command'
6 require 'workers/status_monitor_job'
7 Delayed::Command.new(ARGV).daemonize