From 7f508bdc34456aa2494097927da3a6f3bd1d7014 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 28 Mar 2026 13:44:38 +0000 Subject: [PATCH] feat: install daily backup systemd timer from start.sh Adds hiy-backup.service + hiy-backup.timer alongside the existing hiy-update.timer. Runs backup.sh at 03:00 daily with Persistent=true so a missed run executes on next boot. https://claude.ai/code/session_01FKCW3FDjNFj6jve4niMFXH --- infra/start.sh | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/infra/start.sh b/infra/start.sh index 67c84ea..42ba092 100755 --- a/infra/start.sh +++ b/infra/start.sh @@ -217,3 +217,36 @@ UNIT systemctl --user daemon-reload systemctl --user enable --now hiy-update.timer echo "[hiy] Auto-update timer installed: systemctl --user status hiy-update.timer" + +# ── Install systemd timer for daily backup ──────────────────────────────────── +BACKUP_SERVICE="$SERVICE_DIR/hiy-backup.service" +BACKUP_TIMER="$SERVICE_DIR/hiy-backup.timer" + +cat > "$BACKUP_SERVICE" < "$BACKUP_TIMER" <