[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 # ONCE A DAY, not every 5 minutes. See the note in roles/monero's timer: the # explorer follows the node it reads from, and this check costs a full page # render out of the LMDB (a cold one measured 68 seconds), so polling it hard # is not free either. The Gatus heartbeat window is 26h, set in # infra/403_service_probe_registration.yml, and MUST stay above this interval. OnCalendar={{ xmrblocks_healthcheck_on_calendar }} # Spread against the other daily pushes leaving this box. RandomizedDelaySec=900 Persistent=true [Install] WantedBy=timers.target