summaryrefslogtreecommitdiff
path: root/resque.sh
diff options
context:
space:
mode:
authorAriejan de Vroom <ariejan@ariejan.net>2012-03-23 03:20:49 -0700
committerAriejan de Vroom <ariejan@ariejan.net>2012-03-23 03:20:49 -0700
commitfd071b571798b979f36ceff67bb1e63d18e4630a (patch)
treef6499aa084e23b387ee0c353faad273b7c6fd4d0 /resque.sh
parent6af33483fc9050f4990a96495c95da3d94fdf364 (diff)
parent47af1b7fe87ec933ac7e0d9ef8d873fc99a2fad7 (diff)
downloadgitlab-ce-fd071b571798b979f36ceff67bb1e63d18e4630a.tar.gz
Merge pull request #582 from arenard/patch-1
Use of -p option of mkdir command to avoid message telling tmp/pids directory already exists...
Diffstat (limited to 'resque.sh')
-rwxr-xr-xresque.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/resque.sh b/resque.sh
index d8b68d463f0..f26d44a5959 100755
--- a/resque.sh
+++ b/resque.sh
@@ -1,2 +1,2 @@
-mkdir tmp/pids
+mkdir -p tmp/pids
nohup bundle exec rake environment resque:work QUEUE=* RAILS_ENV=production PIDFILE=tmp/pids/resque_worker.pid & >> log/resque_worker.log 2>&1