summaryrefslogtreecommitdiff
path: root/deployment/doot-health.timer
blob: 22b687f5b86aed71006962ac34b052dbaf9f77b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Run the doot.terst.org health check every 5 minutes

[Timer]
# 2 minutes after boot: the failure this exists for first appeared at a reboot,
# when sub-services could not exec and systemd gave up on them.
OnBootSec=2min
OnUnitActiveSec=5min
# Spread the load off exact-minute boundaries.
RandomizedDelaySec=30s
Unit=doot-health.service

[Install]
WantedBy=timers.target