that's called continuous improvement
This commit is contained in:
parent
287d8f5cb0
commit
b6002a9afd
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
login-mailer.service
|
||||
|
@ -6,7 +6,7 @@ Get an email when someone logs in on your server.
|
||||
|
||||
Requires you to host/use an email proxy. See [git.fybx.dev/fyb/mail-proxy](https://git.fybx.dev/fyb/mail-proxy) for a simple Express.js and nodemailer powered alternative. Fork and deploy to Vercel, it's set!
|
||||
|
||||
Don't forget to change `EMAIL` and `ENDPOINT` environment variables in `login-mailer.service`.
|
||||
Change `EMAIL` and `ENDPOINT` environment variables in `login-mailer.service.template` and copy to `login-mailer.service`. Run `install.sh`.
|
||||
|
||||
`install.sh` and `uninstall.sh` provided for ease-of-use, places systemctl service and timer, and enables it.
|
||||
|
||||
|
8
login-mailer.service.template
Normal file
8
login-mailer.service.template
Normal file
@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Login Mailer
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/root/server-toolset/login-mailer.sh
|
||||
Environment="EMAIL=your_email@example.org"
|
||||
Environment="ENDPOINT=mail.example.org/api/mail"
|
Loading…
x
Reference in New Issue
Block a user