[systemd] Add mail-ntfy scripts
This commit is contained in:
7
systemd/.config/systemd/user/mail-ntfy.service
Normal file
7
systemd/.config/systemd/user/mail-ntfy.service
Normal file
@ -0,0 +1,7 @@
|
||||
[Unit]
|
||||
Description="Check for new email"
|
||||
Requires=mail-ntfy.timer
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=uv run /home/powellc/.bin/mail-ntfy.py
|
||||
10
systemd/.config/systemd/user/mail-ntfy.timer
Normal file
10
systemd/.config/systemd/user/mail-ntfy.timer
Normal file
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description="Timer for checking email"
|
||||
|
||||
[Timer]
|
||||
Unit=mail-ntfy.service
|
||||
OnBootSec=10s
|
||||
OnCalendar=*:0/1
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in New Issue
Block a user