From 1e77988831b52a6ff49d536e22a982d65424fcff Mon Sep 17 00:00:00 2001 From: Terranom674 Date: Tue, 18 Aug 2026 16:22:31 +0200 Subject: [PATCH] Reconcile stored connections before shared runtime --- runtime/run-all.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/runtime/run-all.sh b/runtime/run-all.sh index 0bdd2bb..898b795 100644 --- a/runtime/run-all.sh +++ b/runtime/run-all.sh @@ -4,6 +4,12 @@ set -Eeuo pipefail CONFIG_DIR="/etc/bratonien-tools/nc-connector" SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)" shopt -s nullglob + +if ! php "$SCRIPT_DIR/reconcile.php"; then + echo "NC Connector: gespeicherte Verbindungen konnten nicht mit der Runtime abgeglichen werden." >&2 + exit 1 +fi + configs=("$CONFIG_DIR"/connection-*.conf) if [[ ${#configs[@]} -eq 0 ]]; then