Fixed missing UID

This commit is contained in:
Jonathan Ervine 2020-10-14 16:28:49 +08:00
parent 8089429139
commit 1a667fd7ae

View File

@ -5,7 +5,7 @@
LIVE_DB=$1
BACKUP_DB=$2
echo -e 'Starting the sidecar container to periodically backup the sonarr databases'
chown 1003:1003 /app-remote-config/*
chown 1027:1027 /app-remote-config/*
echo -e 'Copy the config from the remote share to the local drive'
touch /mnt/app-local-config/$LIVE_DB
python3 /usr/local/bin/db-restore.py /mnt/app-local-config/$LIVE_DB /app-remote-config/$BACKUP_DB