Fixed UID to fit in with synology
This commit is contained in:
parent
9a98b9add7
commit
8089429139
2
start.sh
2
start.sh
@ -10,7 +10,7 @@ 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
|
||||
find /app-remote-config/ -type f -maxdepth 1 -not -iname $BACKUP_DB -exec cp -fvp '{}' '/mnt/app-local-config/' ';'
|
||||
chown -R 1003:1003 /mnt/app-local-config
|
||||
chown -R 1027:1027 /mnt/app-local-config
|
||||
echo -e 'Perform periodic backup of database'
|
||||
while true; do
|
||||
sleep 890
|
||||
|
||||
Loading…
Reference in New Issue
Block a user