Commit df01aad9 by zhangkb

修改startup脚本

parent e39c91ee
#!/bin/bash
#!/bin/bash
......@@ -16,7 +16,7 @@ SPRING_OPTS="--spring.cloud.config.uri=$CONFIG_URL --spring.profiles.active=$PRO
CURR_DIR=`pwd`
cd $BASE_LOC
onhup java $JAVA_OPTS $TEMP_DIR -jar $JAR_LOC $SPRING_OPTS 2>$1 > $BASE_LOC/console.log &
nohup java $JAVA_OPTS $TEMP_DIR -jar $JAR_LOC $SPRING_OPTS 2>$1 > $BASE_LOC/console.log &
echo "$JAR_NAME started."
cd $CURR_DIR
......
#!/bin/bash
#!/bin/bash
......@@ -16,7 +16,7 @@ SPRING_OPTS="--spring.cloud.config.uri=$CONFIG_URL --spring.profiles.active=$PRO
CURR_DIR=`pwd`
cd $BASE_LOC
onhup java $JAVA_OPTS $TEMP_DIR -jar $JAR_LOC $SPRING_OPTS 2>$1 > $BASE_LOC/console.log &
nohup java $JAVA_OPTS $TEMP_DIR -jar $JAR_LOC $SPRING_OPTS 2>$1 > $BASE_LOC/console.log &
echo "$JAR_NAME started."
cd $CURR_DIR
......
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