🎉 v1.1.0
This commit is contained in:
parent
d63fa3e3cd
commit
24ca555075
|
@ -0,0 +1 @@
|
|||
/PHPMailer
|
|
@ -0,0 +1,23 @@
|
|||
[Unit]
|
||||
Description=Improved mail notifications for Untis
|
||||
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
|
||||
|
||||
[Service]
|
||||
User=untisbot
|
||||
Group=untisbot
|
||||
|
||||
Environment="SYSTEMD=true"
|
||||
ExecStart=/opt/untisbot/untisbotd
|
||||
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
Restart=on-failure
|
||||
|
||||
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -0,0 +1,32 @@
|
|||
## FETCH OPTIONS ##
|
||||
fetch.timeout = 20
|
||||
fetch.file_download_timeout = 120
|
||||
|
||||
fetch.interval.messages = 600
|
||||
|
||||
|
||||
## OUTGOING MAIL SERVER ##
|
||||
mail.host = "smtp.example.com"
|
||||
mail.port = 587
|
||||
mail.username = "untisbot@example.com"
|
||||
mail.password = "topsecret123"
|
||||
mail.starttls = true
|
||||
|
||||
|
||||
## ACCOUNTS ##
|
||||
[account1]
|
||||
host = "niobe.webuntis.com"
|
||||
school = "my-school"
|
||||
auth.username = "username1"
|
||||
auth.password = "topsecret456"
|
||||
|
||||
notify.messages = "user1@example.com"
|
||||
|
||||
|
||||
[account2]
|
||||
host = "niobe.webuntis.com"
|
||||
school = "my-school"
|
||||
auth.username = "username2"
|
||||
auth.password = "topsecret789"
|
||||
|
||||
notify.messages = "user2@example.com"
|
Loading…
Reference in New Issue