From: RĂ©gis Hanol Date: Mon, 17 Feb 2014 14:58:18 +0000 (+0100) Subject: BUGFIX: tmp might not exist X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b150cad15c0cd500baec638c114c75a76432cc96;p=discourse_docker.git BUGFIX: tmp might not exist --- diff --git a/templates/web.template.yml b/templates/web.template.yml index 1784206..d8f47ae 100644 --- a/templates/web.template.yml +++ b/templates/web.template.yml @@ -76,12 +76,12 @@ run: - git clean -f - git pull - git checkout $version - - touch tmp/.gitkeep - mkdir -p tmp/pids - mkdir -p tmp/sockets - mkdir -p /shared/log/rails - mkdir -p /shared/uploads - mkdir -p /shared/backups + - touch tmp/.gitkeep - rm -r log - ln -s /shared/log/rails $home/log - ln -s /shared/uploads $home/public/uploads