Browse Source

add yxt/api-gateway.sh

master
lizw 4 years ago
parent
commit
259ff4cce2
  1. 4
      yxt/api-gateway.sh

4
yxt/api-gateway.sh

@ -23,8 +23,8 @@ startServer() {
if [ -z $pid ];then
echo -e "$echoPrefix cd $dirPath $echoSuffix"
cd $dirPath
echo -e "$echoPrefix java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./gateway-server-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=9000 >$logPath 2>&1 & $echoSuffix"
java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./gateway-server-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=9000 >$logPath 2>&1 &
echo -e "$echoPrefix java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./soap-gateway-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=9000 >$logPath 2>&1 & $echoSuffix"
java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./soap-gateway-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=9000 >$logPath 2>&1 &
echo "$serverName 启动成功!"
else
echo "$serverName 正在运行..."

Loading…
Cancel
Save