【7.2.5】更新启动脚本内容

pull/20/head
fengshuonan 2022-10-18 20:35:42 +08:00
parent b4ef62b157
commit 729aa7b811
1 changed files with 1 additions and 4 deletions

View File

@ -6,9 +6,6 @@ do
echo "Kill the $1 process [ $i ]"
kill -9 $i
done
echo " =====启动Java应用======"
echo " =====关闭Guns应用======"
nohup java -Xms1024M -Xmx1024M -XX:MetaspaceSize=512m -XX:MaxMetaspaceSize=512M -jar guns.jar --spring.profiles.active=local > guns.out &
echo $! > guns-pid.txt
cat guns-pid.txt
rm guns-pid.txt
tail -f guns.out