more tools

This commit is contained in:
2025-08-29 09:40:20 +03:00
parent 4346b838ed
commit 4448764bca
15 changed files with 513 additions and 24 deletions

15
login-mailer/install.sh Normal file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
if [ ! -f login-mailer.service ]; then
echo "have you copied and edited login-mailer.service.template?"
exit 1
fi
cp ./login-mailer.sh /usr/local/bin/login-mailer
cp ./login-mailer.service /etc/systemd/system/login-mailer.service
cp ./login-mailer.timer /etc/systemd/system/login-mailer.timer
systemctl daemon-reload
systemctl enable --now login-mailer.timer
systemctl status login-mailer.timer