Commit 00cddaf5 authored by 赵啸非's avatar 赵啸非

修改前端生成页面

parent 440ffd23
...@@ -75,7 +75,7 @@ exec "$JAVACMD" $JAVA_OPTS \ ...@@ -75,7 +75,7 @@ exec "$JAVACMD" $JAVA_OPTS \
-Dapp.port="$PORT" \ -Dapp.port="$PORT" \
-Dbasedir="$BASEDIR" \ -Dbasedir="$BASEDIR" \
-Djava.io.tmpdir=$TEMP_PATH \ -Djava.io.tmpdir=$TEMP_PATH \
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=6513 \ -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=6913 \
-jar $MAIN_CLASS \ -jar $MAIN_CLASS \
> /dev/null & > /dev/null &
...@@ -84,7 +84,7 @@ do ...@@ -84,7 +84,7 @@ do
jcpid=`ps -ef | grep -v "grep" | grep "$MAIN_CLASS" | grep "app.port=$PORT" | sed -n '1P' | awk '{print $2}'` jcpid=`ps -ef | grep -v "grep" | grep "$MAIN_CLASS" | grep "app.port=$PORT" | sed -n '1P' | awk '{print $2}'`
if [ $jcpid ]; then if [ $jcpid ]; then
writelog "The $PROJECT_NAME start finished, PID is $jcpid" writelog "The $PROJECT_NAME start finished, PID is $jcpid"
exit 0 exit $SUCCESS
else else
writelog "starting the application .. $i" writelog "starting the application .. $i"
sleep 1 sleep 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment