surely, more logic will help

This commit is contained in:
2024-10-31 19:40:40 +03:00
parent fc5f10d4dd
commit 4346b838ed
2 changed files with 5 additions and 8 deletions

View File

@@ -1,5 +1,10 @@
#!/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