|
|
@@ -27,11 +27,11 @@ relx_nodetool() {
|
|
|
command="$1"; shift
|
|
|
|
|
|
ERL_FLAGS="$ERL_FLAGS $EPMD_ARG $PROTO_DIST_ARG" \
|
|
|
+ ERL_LIBS="${LIB_EKKA_DIR}:${ERL_LIBS:-}" \
|
|
|
"$ERTS_DIR/bin/escript" "$ROOTDIR/bin/nodetool" "$NAME_TYPE" "$NAME" \
|
|
|
-setcookie "$COOKIE" "$command" "$@"
|
|
|
}
|
|
|
|
|
|
-
|
|
|
if [ -z "$NAME_ARG" ]; then
|
|
|
NODENAME="${EMQX_NODE_NAME:-}"
|
|
|
# check if there is a node running, inspect its name
|