cleaner, simpler & better

This commit is contained in:
2024-10-31 19:23:17 +03:00
parent 2060174be5
commit fc5f10d4dd
4 changed files with 10 additions and 4 deletions

View File

@@ -1,8 +1,8 @@
[Unit]
Description=Login Mailer
Description=Get mailed when someone logs in to your server!
[Service]
Type=simple
ExecStart=/root/server-toolset/login-mailer.sh
ExecStart=/usr/local/bin/login-mailer
Environment="EMAIL=your_email@example.org"
Environment="ENDPOINT=mail.example.org/api/mail"