From 1f84460a6562b7ec1f94601c2f53da9951173798 Mon Sep 17 00:00:00 2001 From: Austin Schaefer Date: Sun, 20 Sep 2026 09:49:14 +0200 Subject: [PATCH] Drop RandomizedDelaySec so the login check really is immediate Co-Authored-By: Claude Sonnet 5 --- systemd/pkgwatch.timer | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/systemd/pkgwatch.timer b/systemd/pkgwatch.timer index 486afc3..409c0a1 100644 --- a/systemd/pkgwatch.timer +++ b/systemd/pkgwatch.timer @@ -1,14 +1,17 @@ # 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 -# right after login (10s, so the session bus and network are up) instead of waiting up to an hour for the next tick. +# right after login (10s, so the session bus and network are up) instead +# of waiting up to an hour for the next tick. +# +# No RandomizedDelaySec: it applies to every trigger, including the +# startup one, and a single machine has no herd to spread out anyway. [Unit] -Description=Run pkgwatch hourly +Description=Run pkgwatch at login and hourly [Timer] OnStartupSec=10s OnCalendar=hourly -RandomizedDelaySec=5min Persistent=false [Install]