morphit/ops/systemd/morphit-treasury-repin.timer

18 lines
709 B
SYSTEMD

[Unit]
Description=Morphit treasury auto-re-pin timer — daily drift check of the chain-pinned listing-fee amounts (MAINTAINER-ONLY)
Documentation=https://git.agorise.net/agorise/morphit
Requires=morphit-treasury-repin.service
[Timer]
# Daily at 03:30 UTC + up to 1h jitter. Fee drift is gradual (the
# 10% re-pin threshold sits well inside the verifier's 15% band), so
# a daily cadence keeps the pin fresh with margin to spare while
# barely touching the chain (a re-pin op is rare — only on real
# drift). Persistent=true catches up a missed run after downtime.
OnCalendar=*-*-* 03:30:00 UTC
RandomizedDelaySec=1h
Persistent=true
Unit=morphit-treasury-repin.service
[Install]
WantedBy=timers.target