Compare commits

..

1 commit

Author SHA1 Message Date
Reynir Björnsson bb07389640 Make curl silent in restic scripts
Printing curl progress is just silly.
2024-12-22 12:44:16 +01:00
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -1,2 +1,2 @@
#!/bin/sh #!/bin/sh
curl '{{ restic_secrets.uptime_kuma_url }}' curl --silent '{{ restic_secrets.uptime_kuma_url }}'