Only change the data directory ownership on Docker start

This commit is contained in:
Nick Mills-Barrett 2022-03-03 16:17:54 +00:00 committed by GitHub
parent 082bdcca11
commit 2e01dc4bd4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ fi
# Define functions.
function fixperms {
chown -R $UID:$GID /data /opt/mautrix-whatsapp
chown -R $UID:$GID /data
}
if [[ ! -f /data/config.yaml ]]; then