1
0
mirror of https://github.com/thomiceli/opengist synced 2025-02-17 23:09:35 +01:00

Fixes unable to access '/root/.config/git/attributes': Permission denied (#71)

This commit is contained in:
Thomas Miceli 2023-06-25 11:40:28 +02:00 committed by GitHub
parent a35b64455a
commit 06b752f567
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -8,6 +8,4 @@ usermod -o -u "$UID" $USER
chown -R "$USER:$USER" /opengist
export OG_OPENGIST_HOME=/opengist
su -m $USER -c "/app/opengist/opengist"
exec su $USER -c "OG_OPENGIST_HOME=/opengist /app/opengist/opengist"