From ac64706fcb29182447f580c5563dc47bd52d7021 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reynir=20Bj=C3=B6rnsson?= Date: Mon, 4 Mar 2024 12:48:51 +0100 Subject: [PATCH] . --- 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 e0d49ef..42900e1 100644 --- a/roles/docker/templates/restic/failure.sh.j2 +++ b/roles/docker/templates/restic/failure.sh.j2 @@ -1,5 +1,5 @@ #!/bin/sh -curl smtp://postfix --mail-from {{ services.restic.mail_from }} --mail-rcpt admin@data.coop --upload-file . << END_OF_MAIL +curl smtp://{{ smtp_host }} --mail-from {{ services.restic.mail_from }} --mail-rcpt admin@data.coop --upload-file . << END_OF_MAIL From: Restic backup <{{ services.restic.mail-from }}> To: admin-hold@data.coop Subject: Restic backup failed