diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-01-09 15:30:19 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-01-09 15:30:19 +0400 |
commit | 3c9d7b7077f41ab354dd36c42bdd74345993159a (patch) | |
tree | a84caaddabdbcce21f2c79b4fbc3675e33bb3a21 /resque.sh | |
parent | caa5a78863289b7703554f845dabc08ca0d53d2c (diff) |
Procfile production, resque script
Diffstat (limited to 'resque.sh')
-rwxr-xr-x | resque.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/resque.sh b/resque.sh new file mode 100755 index 00000000000..7c9850d0ec8 --- /dev/null +++ b/resque.sh @@ -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 |