summaryrefslogtreecommitdiff
path: root/resque_dev.sh
diff options
context:
space:
mode:
Diffstat (limited to 'resque_dev.sh')
-rwxr-xr-xresque_dev.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/resque_dev.sh b/resque_dev.sh
index b09cfd9e383..0f1d6edb41f 100755
--- a/resque_dev.sh
+++ b/resque_dev.sh
@@ -1 +1,2 @@
-bundle exec rake environment resque:work QUEUE=post_receive,mailer,system_hook VVERBOSE=1
+mkdir -p tmp/pids
+bundle exec rake environment resque:work QUEUE=post_receive,mailer,system_hook VVERBOSE=1 PIDFILE=tmp/pids/resque_worker.pid RAILS_ENV=development BACKGROUND=yes