This commit is contained in:
Girish Ramakrishnan 2022-12-03 13:28:25 +01:00
parent 1d181ed440
commit b0d3985ab4
1 changed files with 2 additions and 2 deletions

View File

@ -70,8 +70,8 @@ fi
chown -R cloudron:cloudron /tmp/mastodon /run/mastodon
if [[ "$(stat -c '%U' /app/data)" != "cloudron" ]]; then
chown -R cloudron:cloudron /app/data/*
chown cloudron:clourdon /app/data
chown -R cloudron:cloudron /app/data/* || true # if there are no files
chown cloudron:cloudron /app/data
fi
[[ ! -f /app/data/config.sh ]] && cp /app/pkg/config.sh /app/data/config.sh