diff options
author | Ariejan de Vroom <ariejan@ariejan.net> | 2012-03-23 03:20:49 -0700 |
---|---|---|
committer | Ariejan de Vroom <ariejan@ariejan.net> | 2012-03-23 03:20:49 -0700 |
commit | fd071b571798b979f36ceff67bb1e63d18e4630a (patch) | |
tree | f6499aa084e23b387ee0c353faad273b7c6fd4d0 /resque.sh | |
parent | 6af33483fc9050f4990a96495c95da3d94fdf364 (diff) | |
parent | 47af1b7fe87ec933ac7e0d9ef8d873fc99a2fad7 (diff) | |
download | gitlab-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-x | resque.sh | 2 |
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 |