only address resque works in post_receive and mailer queue

This commit is contained in:
RickXing 2012-06-10 17:11:34 +08:00
parent 98b8416647
commit 81f666d8dc

View file

@ -1,2 +1,2 @@
mkdir -p tmp/pids
bundle exec rake environment resque:work QUEUE=* RAILS_ENV=production PIDFILE=tmp/pids/resque_worker.pid BACKGROUND=yes
bundle exec rake environment resque:work QUEUE=post_receive,mailer RAILS_ENV=production PIDFILE=tmp/pids/resque_worker.pid BACKGROUND=yes