Browse Source

docker: stop modifying file permission before migrating database (#5707)

for-closed-social
Julian 5 years ago
committed by techknowlogick
parent
commit
f59bfe893a
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      docker/usr/bin/entrypoint

+ 0
- 1
docker/usr/bin/entrypoint View File

@ -32,7 +32,6 @@ done
if [ -f /data/gitea/conf/app.ini ]; then
echo "Found app.ini config file, migrating database"
chmod 644 /data/gitea/conf/app.ini
chown -R ${USER_UID}:${USER_GID} /data/git /data/gitea
su - ${USER} -c gitea migrate -c /data/gitea/conf/app.ini
fi

Loading…
Cancel
Save