Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-01-09 15:30:19 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-01-09 15:30:19 +0400
commit3c9d7b7077f41ab354dd36c42bdd74345993159a (patch)
treea84caaddabdbcce21f2c79b4fbc3675e33bb3a21 /resque.sh
parentcaa5a78863289b7703554f845dabc08ca0d53d2c (diff)
Procfile production, resque script
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