From 0263b2bbb806ee13436b2bf53c89c7436d94a5e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reynir=20Bj=C3=B6rnsson?= Date: Wed, 12 Feb 2025 09:01:44 +0100 Subject: [PATCH] restic-mail: undo debugging During debugging the script I inserted "echo" and "cat". Then I removed the "echo" but forgot the "cat". This breaks stuff. Undo cat. --- roles/docker/templates/restic/failure.sh.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/docker/templates/restic/failure.sh.j2 b/roles/docker/templates/restic/failure.sh.j2 index 22b1fec..e0f4362 100644 --- a/roles/docker/templates/restic/failure.sh.j2 +++ b/roles/docker/templates/restic/failure.sh.j2 @@ -1,7 +1,7 @@ #!/bin/sh curl --silent smtp://{{ smtp_host }} --mail-from {{ services.restic.mail_from }} \ --mail-rcpt admin@data.coop --mail-rcpt datacoop-backup@reynir.dk \ - --upload-file .; cat << END_OF_MAIL + --upload-file . << END_OF_MAIL From: Restic backup <{{ services.restic.mail_from }}> To: admin@data.coop Subject: Restic backup failed