Merge pull request #582 from arenard/patch-1

Use of -p option of mkdir command to avoid message telling tmp/pids directory already exists...
This commit is contained in:
Ariejan de Vroom 2012-03-23 03:20:49 -07:00
commit fd071b5717

View file

@ -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 nohup bundle exec rake environment resque:work QUEUE=* RAILS_ENV=production PIDFILE=tmp/pids/resque_worker.pid & >> log/resque_worker.log 2>&1