F24-1: resolve refs/remotes/origin/main^{commit} instead of the ambiguous
origin/main, which a tag or local branch of that name would shadow.
F24-2: the timer fires on OnCalendar=*-*-* *:0/15:00 so Persistent=true
catches up a check missed while the host was down; the runbook documents
the new schedule.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
14 lines
360 B
SYSTEMD
14 lines
360 B
SYSTEMD
# Checks for a new main at every quarter hour (plus up to 5 minutes' random
|
|
# delay). Persistent= runs a check at once when the host comes back if a
|
|
# scheduled one was missed while it was down.
|
|
[Unit]
|
|
Description=Periodic MealQuest automated deploy
|
|
|
|
[Timer]
|
|
OnCalendar=*-*-* *:0/15:00
|
|
RandomizedDelaySec=5min
|
|
Persistent=true
|
|
|
|
[Install]
|
|
WantedBy=timers.target
|