From 57a9103f94a121659b287b20f96a4372ef2d16e0 Mon Sep 17 00:00:00 2001 From: richard Date: Mon, 17 Sep 2018 12:01:18 +0800 Subject: [PATCH] rollback to default startup script --- wildfly_base/initial/startwf.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wildfly_base/initial/startwf.sh b/wildfly_base/initial/startwf.sh index 7277b51..5ccf5d9 100755 --- a/wildfly_base/initial/startwf.sh +++ b/wildfly_base/initial/startwf.sh @@ -1,6 +1,6 @@ #variables IPADDRESS=$(hostname -i) -export JAVA_OPTS = "$JAVA_OPTS $EXTRA_JAVA_OPTS" -/opt/jboss/wildfly/bin/standalone.sh -c ${WF_CONFIG} -b ${IPADDRESS} +EXTRA_JAVA_OPTS="$EXTRA_JAVA_OPTS -Djboss.bind.address.management=${IPADDRESS}" +/opt/jboss/wildfly/bin/standalone.sh -c ${WF_CONFIG} -b ${IPADDRESS} ${EXTRA_JAVA_OPTS}