This commit is contained in:
Reynir Björnsson 2024-03-04 12:48:51 +01:00
parent 9fb16d3a69
commit ac64706fcb

View file

@ -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