Merge branch 'fix-docker-configs-support' into 'master'

Allow chown to fail so files can be managed via docker configs and secrets

See merge request i2p-hackers/i2p.i2p!48
This commit is contained in:
idk
2022-01-16 16:45:56 +00:00

View File

@@ -19,8 +19,8 @@ echo "$APP_USER:x:$GROUP_ID:" >> /etc/group
# Make sure APP_HOME is editable by the user
if [[ -n "$APP_HOME" ]] ; then
chown -R "$APP_USER" "$APP_HOME"
chmod -R u+rw "$APP_HOME"
chown -R "$APP_USER" "$APP_HOME" || true
chmod -R u+rw "$APP_HOME" || true
fi
# vim:ft=sh:ts=4:sw=4:et:sts=4