Drop RandomizedDelaySec so the login check really is immediate
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
7a00f412bb
commit
1f84460a65
1 changed files with 6 additions and 3 deletions
|
|
@ -1,14 +1,17 @@
|
||||||
# Periodic, not persistent (see docs/SPEC.md > Vision): 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
|
# for missed ticks. The laptop is only on while logged in, so the user
|
||||||
# manager starting (= login) is what matters: OnStartupSec runs a check
|
# 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]
|
[Unit]
|
||||||
Description=Run pkgwatch hourly
|
Description=Run pkgwatch at login and hourly
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
OnStartupSec=10s
|
OnStartupSec=10s
|
||||||
OnCalendar=hourly
|
OnCalendar=hourly
|
||||||
RandomizedDelaySec=5min
|
|
||||||
Persistent=false
|
Persistent=false
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue