feat: show backup log in docker log

main
mandlm 2023-08-17 17:16:22 +02:00
parent 9dfb370dc9
commit 2342c94ccd
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
1 changed files with 2 additions and 1 deletions

View File

@ -8,4 +8,5 @@ echo "${KOPIA_CRON_SCHEDULE} /run-backup.sh > /var/log/kopia-backup.log 2>&1" >
chmod 0644 ${CRONTAB}
crontab ${CRONTAB}
cron -f
touch /var/log/kopia-backup.log
cron && tail -f /var/log/kopia-backup.log