[refs #510] Change resque queue name

This commit is contained in:
konstantin.grabar 2012-06-06 22:57:45 +04:00
parent 8dbdcee5e6
commit ae6a3e6506
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ Bluepill.application(app_name, :log_file => "/srv/rosa_build/shared/log/bluepill
app.process("resque") do |process| app.process("resque") do |process|
process.group = "resque" process.group = "resque"
pid_path = File.join(app.working_dir, 'tmp', 'pids', 'resque.pid') pid_path = File.join(app.working_dir, 'tmp', 'pids', 'resque.pid')
process.start_command = "bundle exec rake resque:work QUEUE=* PIDFILE=#{ pid_path } BACKGROUND=yes" process.start_command = "bundle exec rake resque:work QUEUE=fork_and_import PIDFILE=#{ pid_path } BACKGROUND=yes"
process.pid_file = pid_path process.pid_file = pid_path
process.stop_command = "kill -QUIT {{PID}}" process.stop_command = "kill -QUIT {{PID}}"
process.daemonize = true process.daemonize = true