Browse Source

Merge pull request #1 from blu3gui7ar/blu3gui7ar-patch-1

refine setup script for gogs service in Container
pull/4722/head
blu3gui7ar 7 years ago committed by GitHub
parent
commit
d5dae0d0f8
  1. 8
      docker/s6/gogs/setup

8
docker/s6/gogs/setup

@ -13,11 +13,11 @@ fi
cd /app/gogs cd /app/gogs
# Link volumed data with app data # Link volumed data with app data
ln -sf /data/gogs/log ./log [ -h ./log ] || ln -sf /data/gogs/log ./log
ln -sf /data/gogs/data ./data [ -h ./data ] || ln -sf /data/gogs/data ./data
# Backward Compatibility with Gogs Container v0.6.15 # Backward Compatibility with Gogs Container v0.6.15
ln -sf /data/git /home/git [ -h /home/git ] || ln -sf /data/git /home/git
chown -R git:git /data /app/gogs ~git/ chown -R git:git /data/git /data/gogs /data/ssh /app/gogs
chmod 0755 /data /data/gogs ~git/ chmod 0755 /data /data/gogs ~git/

Loading…
Cancel
Save