summaryrefslogtreecommitdiff
path: root/resque.sh
diff options
context:
space:
mode:
Diffstat (limited to 'resque.sh')
-rwxr-xr-xresque.sh2
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