1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-17 07:34:25 +00:00

Merge pull request #1766 from 0rax/develop

Docker repository path backward compatibility fix
This commit is contained in:
无闻 2015-10-12 16:59:41 -04:00
commit 5c6df9f31b

View File

@ -12,7 +12,11 @@ fi
cd /app/gogs cd /app/gogs
# Link volumed data with app data
ln -sf /data/gogs/log ./log ln -sf /data/gogs/log ./log
ln -sf /data/gogs/data ./data ln -sf /data/gogs/data ./data
# Backward Compatibility with Gogs Container v0.6.15
ln -sf /data/git /home/git
chown -R git:git /data /app/gogs ~git/ chown -R git:git /data /app/gogs ~git/