Commit fd071b571798b979f36ceff67bb1e63d18e4630a
Exists in
master
and in
4 other branches
Merge pull request #582 from arenard/patch-1
Use of -p option of mkdir command to avoid message telling tmp/pids directory already exists...
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 | nohup bundle exec rake environment resque:work QUEUE=* RAILS_ENV=production PIDFILE=tmp/pids/resque_worker.pid & >> log/resque_worker.log 2>&1 | 2 | nohup bundle exec rake environment resque:work QUEUE=* RAILS_ENV=production PIDFILE=tmp/pids/resque_worker.pid & >> log/resque_worker.log 2>&1 |