From 2342c94ccd32cb8a462edf7940451ee5f06a8279 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Thu, 17 Aug 2023 17:16:22 +0200 Subject: [PATCH] feat: show backup log in docker log --- entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 9903533..9b6bc9f 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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