Skip to content

Commit

Permalink
docker: stop modifying file permission before migrating database (#5707)
Browse files Browse the repository at this point in the history
  • Loading branch information
apricote authored and techknowlogick committed Jan 12, 2019
1 parent abb364f commit f59bfe8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docker/usr/bin/entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f59bfe8

Please sign in to comment.