Improved resque.sh

This commit is contained in:
Dmitriy Zaporozhets 2012-03-23 23:00:05 +02:00
parent 6af33483fc
commit 255a9e0325

View file

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