morphit/ops/systemd/morphit-trivy-monitor.timer

17 lines
549 B
SYSTEMD

[Unit]
Description=Morphit trivy monitor timer — fires the .service daily overnight
Documentation=https://git.agorise.net/agorise/morphit
Requires=morphit-trivy-monitor.service
[Timer]
# Daily at ~03:00 UTC + 30min random delay to spread load if
# many operators run this on the same schedule. CVE DB updates
# from trivy hit a few times per day; daily is the right
# granularity for actionable findings.
OnCalendar=*-*-* 03:00:00 UTC
RandomizedDelaySec=30min
Persistent=true
Unit=morphit-trivy-monitor.service
[Install]
WantedBy=timers.target