managarten/services/mana-geocoding/photon-self/photon-update.timer
Till JS fc49198992 docs(geocoding): post-migration log + Photon weekly-refresh operator scripts
- Decision report: status flipped to MIGRATED; added migration log with
  five WSL2 gotchas (bzip2 missing, no official Photon image,
  firewall=true blocks cross-LAN, vmIdleTimeout=-1 ineffective,
  PowerShell pre-expansion of bash $(...)) and resource snapshot.
- mana-geocoding CLAUDE.md: PHOTON_SELF_API_URL note now reflects live
  primary status on mana-gpu since 2026-04-28.
- photon-self/: operator scripts for the weekly DB refresh — update.sh
  (atomic-swap with rollback), systemd unit + timer (Sun 03:30 +30min
  jitter, Persistent=true), README with re-installation instructions
  for DR. Currently installed and enabled on mana-gpu.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-28 21:31:37 +02:00

13 lines
347 B
SYSTEMD

[Unit]
Description=Trigger weekly Photon DB refresh
[Timer]
# Sunday 03:30 — outside likely-usage hours
OnCalendar=Sun *-*-* 03:30:00
# Run on next boot if the system was off at the scheduled time
Persistent=true
# Spread across 30 min so we don't hammer GraphHopper at exactly :30:00
RandomizedDelaySec=30min
[Install]
WantedBy=timers.target