deploy: run in-situ exegesis dry-run under service account and verify timer state

This commit is contained in:
Hermes Agent committed 2026-12-02 23:03:11 +00:00
1 parent 808882e0a6
commit 2bf65d4dfa
2 files changed
+5 -3

No files matched your search

+3 -1
View File
@@ -309,7 +309,9 @@ EOF_STAGE
fi
echo "[deploy] Running in-situ dry-run verification on ${EXEGESIS_HOST}..."
ssh "${EXEGESIS_HOST}" "/usr/bin/ingglish-exegesis-push --dry-run"
ssh -t "${EXEGESIS_HOST}" "sudo -u ingglish /usr/bin/ingglish-exegesis-push --dry-run || sudo /usr/bin/ingglish-exegesis-push --dry-run"
echo "[deploy] Verifying systemd timer state on ${EXEGESIS_HOST}..."
ssh "${EXEGESIS_HOST}" "systemctl is-enabled ingglish-exegesis.timer || true"
echo "[OK] Verified in-situ execution of /usr/bin/ingglish-exegesis-push --dry-run on ${EXEGESIS_HOST}."
echo "[rollback] To reverse this installation on ${EXEGESIS_HOST}, run: ssh ${EXEGESIS_HOST} sudo rpm -e ingglish-isopsephic-exegesis"
fi