| 1 |
# Daily trigger for the topology drift check. |
| 2 |
# |
| 3 |
# Place at /etc/systemd/system/sando-config-drift.timer on the Sando host. |
| 4 |
# Enable: systemctl enable --now sando-config-drift.timer |
| 5 |
# |
| 6 |
# 05:00 UTC, an hour after the backup fetch, so the two never contend for the |
| 7 |
# same wakeup and their logs stay easy to read apart. |
| 8 |
|
| 9 |
[Unit] |
| 10 |
Description=Sando: daily topology drift check |
| 11 |
|
| 12 |
[Timer] |
| 13 |
OnCalendar=*-*-* 05:00:00 UTC |
| 14 |
# If the box was off when the timer fired, run on next boot. Drift is a standing |
| 15 |
# condition rather than a moment, so a late run is still the right answer. |
| 16 |
Persistent=true |
| 17 |
Unit=sando-config-drift.service |
| 18 |
|
| 19 |
[Install] |
| 20 |
WantedBy=timers.target |
| 21 |
|