From 31944d128b9fb22471c4c1133439add1f2f44390 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 24 Mar 2026 12:36:03 +0000 Subject: [PATCH] remove: unnecessary app restart loop from start.sh Without podman system migrate, compose down/up only touches infra containers. Deployed hiy-* containers are never stopped during a platform restart so they need no special handling there. The restart loop stays in boot.sh where it is needed (system reboot stops all containers). https://claude.ai/code/session_01FKCW3FDjNFj6jve4niMFXH --- infra/start.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/infra/start.sh b/infra/start.sh index 1bbc475..6849780 100755 --- a/infra/start.sh +++ b/infra/start.sh @@ -182,14 +182,6 @@ make -C "$SCRIPT_DIR" build podman compose --env-file "$REPO_ROOT/.env" -f "$SCRIPT_DIR/docker-compose.yml" down podman compose --env-file "$REPO_ROOT/.env" -f "$SCRIPT_DIR/docker-compose.yml" up -d -# ── Restart deployed app containers (stopped by podman system migrate above) ─── -podman ps -a --filter "status=exited" --format "{{.Names}}" \ - | grep '^hiy-' \ - | while IFS= read -r name; do - echo "[hiy] Restarting app: $name" - podman start "$name" || true - done - # ── Install systemd user service for auto-start on boot ─────────────────────── # Uses a user-level (rootless) service so Podman's UID namespace is preserved. # loginctl enable-linger lets the service start even without an active login.