pkgwatch/systemd/pkgwatch.timer

16 lines
492 B
SYSTEMD
Raw Normal View History

# 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.
[Unit]
Description=Run pkgwatch hourly
[Timer]
OnStartupSec=10s
OnCalendar=hourly
RandomizedDelaySec=5min
Persistent=false
[Install]
WantedBy=timers.target