initial codes try 2

This commit is contained in:
2025-10-28 05:39:51 +02:00
parent 34d32ec5cb
commit 5e0a19b810
3 changed files with 12 additions and 7 deletions

View File

@@ -5,7 +5,7 @@ log(){ echo "[nats-registration][entrypoint] $*"; }
err(){ echo "[nats-registration][entrypoint][ERROR] $*" >&2; }
# Sanity: tools
for bin in curl jq python3; do
+for bin in curl jq python; do
command -v "$bin" >/dev/null 2>&1 || { err "Missing $bin"; exit 2; }
done

View File

@@ -57,4 +57,4 @@ if [[ -n "${PRINT_RAW:-}" ]]; then
esac
fi
exec python3 /usr/local/bin/nats_registration_listener.py "${args[@]}"
exec python /usr/local/bin/nats_registration_listener.py "${args[@]}"