everything_readme #1

Merged
Rabjerg merged 8 commits from everything_readme into master 2021-03-22 21:45:13 +01:00
Showing only changes of commit 187e745294 - Show all commits

View File

@@ -67,7 +67,16 @@ Todo
### mail_template.py ### mail_template.py
File containing email template as well as File containing email template as well as subject and list of email recievers.
```
recivers = ["example@example.com", "example2@example.com"]
subject = f"Backup on \"{HOSTNAME}\", for SERVICE complete."
```
Recivers is a python list of email addresses, a seperate email will be sent to each reciever.
Subject is the subjectline of the email being sent (surprise!).
It is made to be called by ```make_backup.sh``` and expects the LASTLOG environment variable to be set.
LASTLOG points to a a logfile containing only the result of the latest backup done.
### secrets.env ### secrets.env