From 071cf27f72c58c3737c25c969e37b42ff53d24df Mon Sep 17 00:00:00 2001 From: Austin Schaefer Date: Sun, 20 Sep 2026 09:48:28 +0200 Subject: [PATCH] Run a check shortly after login, not just on the hourly tick Co-Authored-By: Claude Sonnet 5 --- systemd/pkgwatch.timer | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/systemd/pkgwatch.timer b/systemd/pkgwatch.timer index fb65478..c8f436f 100644 --- a/systemd/pkgwatch.timer +++ b/systemd/pkgwatch.timer @@ -1,9 +1,12 @@ -# Periodic, not persistent (see docs/SPEC.md > Vision): a missed run while -# the machine was off just gets caught by the next tick, no catch-up burst. +# Periodic, not persistent (see docs/SPEC.md > Vision): no catch-up burst +# for missed ticks. The laptop is only on while logged in, so the user +# manager starting (= login) is what matters: OnStartupSec runs a check +# shortly after login instead of waiting up to an hour for the next tick. [Unit] Description=Run pkgwatch hourly [Timer] +OnStartupSec=2min OnCalendar=hourly RandomizedDelaySec=5min Persistent=false