Skip to content

Commit bd146db

Browse files
committed
Improove logs
1 parent 9ba91cc commit bd146db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

entry.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ set -e
44
echo "Starting container ..."
55

66
if [ -n "${NFS_TARGET}" ]; then
7-
echo "Mounting NFS based on NFS_TARGET"
7+
echo "Mounting NFS based on NFS_TARGET: ${NFS_TARGET}"
88
mount -o nolock -v ${NFS_TARGET} /mnt/restic
99
fi
1010

1111
if [ ! -f "$RESTIC_REPOSITORY/config" ]; then
12-
echo "Restic repository does not exists. Running restic init."
12+
echo "Restic repository '${RESTIC_REPOSITORY}' does not exists. Running restic init."
1313
restic init | true
1414
fi
1515

16-
echo "Setup backup cron job with cron expression: ${BACKUP_CRON}"
16+
echo "Setup backup cron job with cron expression BACKUP_CRON: ${BACKUP_CRON}"
1717
echo "${BACKUP_CRON} /bin/backup >> /var/log/cron.log 2>&1" > /var/spool/cron/crontabs/root
1818

1919
# Make sure the file exists before we start tail

0 commit comments

Comments
 (0)