[bin] Add email checker for hungryroot

This commit is contained in:
2026-02-04 13:45:34 -05:00
parent cfca62f269
commit eee3ec43f9
4 changed files with 262 additions and 0 deletions

View File

@ -0,0 +1,24 @@
[Unit]
Description=Hungryroot GitHub email -> ntfy notifications
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
ExecStart=%h/.bin/hungryroot-notifications-wrapper
Restart=always
RestartSec=5
Environment=IMAP_HOST=imap.unbl.ink
Environment=IMAP_USER=hungryroot@unbl.ink
Environment=NTFY_BASE=https://ntfy.unbl.ink
Environment=NTFY_TOPIC=hroot-notifications
Environment=POLL_SECONDS=20
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=default.target