diff --git a/linkis-dist/package/sbin/linkis-start-all.sh b/linkis-dist/package/sbin/linkis-start-all.sh index 55c1ba684e..d70b37d19d 100644 --- a/linkis-dist/package/sbin/linkis-start-all.sh +++ b/linkis-dist/package/sbin/linkis-start-all.sh @@ -64,10 +64,12 @@ echo "<-------------------------------->" echo "Linkis manager data is being cleared" sh $LINKIS_HOME/sbin/clear-server.sh -#linkis-mg-eureka -export SERVER_NAME="mg-eureka" -SERVER_IP=$EUREKA_INSTALL_IP -startApp +if [ "$DISCOVERY" == "EUREKA" ]; then + #linkis-mg-eureka + export SERVER_NAME="mg-eureka" + SERVER_IP=$EUREKA_INSTALL_IP + startApp +fi #linkis-mg-gateway SERVER_NAME="mg-gateway"