| 12345678910111213141516171819202122 |
- # IRDB scheduler tick — systemd timer
- #
- # Pairs with irdb-tick.service. Install both, then:
- # sudo systemctl daemon-reload
- # sudo systemctl enable --now irdb-tick.timer
- # systemctl list-timers irdb-tick.timer
- [Unit]
- Description=Periodically run irdb-tick.service
- [Timer]
- # Once a minute, slightly randomised to avoid thundering-herd on a
- # multi-host deployment. The api's job_locks table mediates between
- # replicas, so simultaneous ticks are correct but wasteful.
- OnBootSec=30s
- OnUnitActiveSec=60s
- RandomizedDelaySec=10s
- AccuracySec=5s
- Persistent=true
- [Install]
- WantedBy=timers.target
|