|
@@ -109,7 +109,7 @@ buildCode() {
|
|
|
}
|
|
|
|
|
|
logPath=/home/dev/output/wms8demo_nohup.log
|
|
|
-dirPath=/home/dev/deploy/wms8demo/wms-biz/servo/build/libs/
|
|
|
+dirPath=/home/dev/deploy/wms8demo/wms-biz/build/libs/
|
|
|
serverName=wms8demo
|
|
|
|
|
|
cmd=$1
|
|
@@ -126,8 +126,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 ./servo-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=18095 >$logPath 2>&1 & $echoSuffix"
|
|
|
- java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./servo-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=18095 >$logPath 2>&1 &
|
|
|
+ echo -e "$echoPrefix java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./wms-biz-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=18095 >$logPath 2>&1 & $echoSuffix"
|
|
|
+ java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./wms-biz-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=18095 >$logPath 2>&1 &
|
|
|
echo "$serverName 启动成功!"
|
|
|
else
|
|
|
echo "$serverName 正在运行..."
|