always the smallest details
This commit is contained in:
parent
87a95b9d76
commit
287d8f5cb0
@ -1,11 +1,13 @@
|
||||
# server-toolset
|
||||
|
||||
## login mailer.sh
|
||||
## login-mailer.sh
|
||||
|
||||
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`.
|
||||
|
||||
`install.sh` and `uninstall.sh` provided for ease-of-use, places systemctl service and timer, and enables it.
|
||||
|
||||
## credits
|
||||
|
@ -4,4 +4,5 @@ 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