README, mail_template.py and LASTLOG environment variable.
This commit is contained in:
11
README.MD
11
README.MD
@@ -67,7 +67,16 @@ Todo
|
||||
|
||||
|
||||
### 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
|
||||
|
||||
Reference in New Issue
Block a user