mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
4.2.4
This commit is contained in:
@@ -133,8 +133,8 @@ Transfer/sec: 226.50KB
|
||||
`restart.sh`
|
||||
|
||||
```bash
|
||||
echo "Stopping sop-gateway-4.2.3-SNAPSHOT.jar"
|
||||
pid=`ps -ef | grep sop-gateway-4.2.3-SNAPSHOT.jar | grep -v grep | awk '{print $2}'`
|
||||
echo "Stopping sop-gateway-4.2.4-SNAPSHOT.jar"
|
||||
pid=`ps -ef | grep sop-gateway-4.2.4-SNAPSHOT.jar | grep -v grep | awk '{print $2}'`
|
||||
if [ -n "$pid" ]
|
||||
then
|
||||
echo "kill -9 的id:" $pid
|
||||
@@ -142,7 +142,7 @@ then
|
||||
fi
|
||||
nohup java -jar -verbose:gc -XX:+PrintGCDetails -XX:+PrintHeapAtGC -Xloggc:gc.log \
|
||||
-XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=128m -Xms1024m -Xmx1024m -Xmn256m -Xss256k -XX:SurvivorRatio=8\
|
||||
-XX:+UseConcMarkSweepGC sop-gateway-4.2.3-SNAPSHOT.jar\
|
||||
-XX:+UseConcMarkSweepGC sop-gateway-4.2.4-SNAPSHOT.jar\
|
||||
--spring.profiles.active=dev --server.port=8081 &
|
||||
|
||||
tail -f nohup.out
|
||||
|
Reference in New Issue
Block a user