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:
parent
1ede5629f4
commit
0263b2bbb8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue