Commit 47af1b7fe87ec933ac7e0d9ef8d873fc99a2fad7

Authored by arenard
1 parent 6af33483

Use of -p option of mkdir command to avoid message telling tmp/pids directory al…

…ready exists at every GitLab (re)start. It ensures that all directories on the path exists so it can create tmp directory if its not there for some reason.
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
resque.sh
1   -mkdir tmp/pids
  1 +mkdir -p tmp/pids
2 2 nohup bundle exec rake environment resque:work QUEUE=* RAILS_ENV=production PIDFILE=tmp/pids/resque_worker.pid & >> log/resque_worker.log 2>&1
... ...