Skip to content

Commit

Permalink
[LINKIS-5043] Only start the eureka service if DISCOVERY is EUREKA (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
wForget authored Dec 17, 2023
1 parent a452a1e commit 709e594
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions linkis-dist/package/sbin/linkis-start-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 709e594

Please sign in to comment.