-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add posibility to send mails when new protocoll is created
- Loading branch information
philmacfly
committed
Nov 20, 2024
1 parent
077f71a
commit 9fcc824
Showing
8 changed files
with
112 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,6 @@ | |
|
||
# Dependency directories (remove the comment below to include it) | ||
# vendor/ | ||
*.toml | ||
*.toml | ||
*.txt | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,12 @@ ConsumerToken = "" | |
ConsumerSecret = "" | ||
AccessToken = "" | ||
AccessSecret = "" | ||
PlenenPageId = "28" | ||
PlenenPageId = "28" | ||
SendMail = true | ||
MailAdress = "" | ||
MailPassword = "" | ||
MailServer = "" | ||
MailPort = 465 | ||
MailRecipient = "[email protected]" | ||
MailSubject = "New Protokoll" | ||
MailTemplate = "/etc/seilfahrt/mail-template.txt" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Hallo liebe Wesen, | ||
|
||
dies ist eine automatisiserte Nachricht um euch zu informieren das es ein neues Plenums Protokoll gibt: | ||
{{.Link}} | ||
|
||
Gruß euer Vorstand |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[Unit] | ||
Description=Create Wiki pages from plenum protocolls | ||
|
||
[Service] | ||
User=root | ||
WorkingDirectory=/etc/seilfahrt | ||
ExecStart=/usr/local/bin/seilfahrt -c config.toml -port 80 -web | ||
# optional items below | ||
Restart=always | ||
RestartSec=3 | ||
|
||
[Install] | ||
WantedBy=network.target |