Procfile production, resque script

This commit is contained in:
Dmitriy Zaporozhets 2012-01-09 13:30:19 +02:00
parent caa5a78863
commit 3c9d7b7077
4 changed files with 6 additions and 1 deletions

2
resque.sh Executable file
View file

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