[Unit] Description=Onion Monero Blockchain Explorer Health Check Timer # Deliberately NO `Requires=xmrblocks.service`. Requires on a timer stops the # timer when the watched unit stops - "if the thing I am watching goes down, # stop watching it" - leaving nothing to re-arm when it returns. Fulcrum's # timer carried it and sat active+enabled for seven months without firing. [Timer] OnBootSec=2min # Every 5 minutes (see xmrblocks_healthcheck_on_calendar). The check renders a # full page out of the LMDB: 29s cold, 0.2s warm on NVMe - frequent polling is # what keeps it warm. The Gatus heartbeat window is the standard 11m, set in # infra/403_service_probe_registration.yml, and MUST stay above this interval. OnCalendar={{ xmrblocks_healthcheck_on_calendar }} # Small: a delay comparable to the interval would eat the heartbeat's slack. RandomizedDelaySec=30 Persistent=true [Install] WantedBy=timers.target