This commit is contained in:
parent
5eb3819bee
commit
bc3fd5171d
1 changed files with 2 additions and 0 deletions
|
@ -3,7 +3,9 @@ cd /data
|
|||
if [ ! -f media-repo.yaml ]; then
|
||||
cp /etc/media-repo.yaml.sample media-repo.yaml
|
||||
fi
|
||||
rm -rf migrations
|
||||
cp -R /var/lib/media-repo-migrations migrations
|
||||
chown -R ${UID}:${GID} /data
|
||||
chown -R ${UID}:${GID} /media
|
||||
|
||||
exec su-exec ${UID}:${GID} media_repo
|
||||
|
|
Loading…
Reference in a new issue