[Unit] Description=news: fetch, embed, cluster, then send any alerts Documentation=file:///home/connor/docs/projects/news/deploy/README.md After=network-online.target Wants=network-online.target [Service] Type=oneshot # `-` on the poll so a failed fetch does not skip notify: there may still be # ripe clusters from an earlier cycle worth sending. ExecStart=-/usr/bin/podman exec connor_news-backend_1 python -m news.cli poll ExecStart=/usr/bin/podman exec connor_news-backend_1 python -m news.cli notify # A cold cycle embeds the whole backlog at ~11 items/sec, so it can legitimately # run for minutes. Steady state is far quicker; this is a ceiling, not a target. TimeoutStartSec=20min