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.
This commit is contained in:
Reynir Björnsson 2025-02-12 09:01:44 +01:00
parent 1ede5629f4
commit 0263b2bbb8

View file

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
curl --silent smtp://{{ smtp_host }} --mail-from {{ services.restic.mail_from }} \ curl --silent smtp://{{ smtp_host }} --mail-from {{ services.restic.mail_from }} \
--mail-rcpt admin@data.coop --mail-rcpt datacoop-backup@reynir.dk \ --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 }}> From: Restic backup <{{ services.restic.mail_from }}>
To: admin@data.coop To: admin@data.coop
Subject: Restic backup failed Subject: Restic backup failed