Added email capabilities.

Added lastlog, logs are now appended to .log and .log.last are send per email.
This commit is contained in:
BuildTools
2021-03-21 23:33:31 +01:00
parent bb83eb4ed8
commit 7fdd30a47e
4 changed files with 83 additions and 2 deletions

10
secrets.env.sample Normal file
View File

@@ -0,0 +1,10 @@
#
# Top secret stuff!
# It is your own responsible to ensure that secrets stays secret!
#
[MAIL]
SERVER = mail.example.com
PORT = 587
USER = service_notify@example.com
PASS = aelaGhuye8Co9cah7aighoo3oongohS4