发布 v2.3.0

This commit is contained in:
疯狂的狮子li
2021-06-01 10:33:57 +08:00
parent fcfc5c85c7
commit c90ca8c2a6
74 changed files with 3801 additions and 431 deletions

12
ry.sh
View File

@ -1,8 +1,12 @@
#!/bin/bash
#!/bin/sh
# author ruoyi
# ./ry.sh start 启动
# ./ry.sh stop 停止
# ./ry.sh restart 重启
# ./ry.sh start 状态
AppName=ruoyi-admin.jar
#JVM参数
# JVM参数
JVM_OPTS="-Dname=$AppName -Duser.timezone=Asia/Shanghai -Xms512M -Xmx512M -XX:PermSize=256M -XX:MaxPermSize=512M -XX:+HeapDumpOnOutOfMemoryError -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:NewRatio=1 -XX:SurvivorRatio=30 -XX:+UseParallelGC -XX:+UseParallelOldGC"
APP_HOME=`pwd`
LOG_PATH=$APP_HOME/logs/$AppName.log
@ -34,7 +38,7 @@ function start()
function stop()
{
echo "Stop $AppName"
PID=""
query(){
PID=`ps -ef |grep java|grep $AppName|grep -v grep|awk '{print $2}'`