update .sh文件

This commit is contained in:
Guoqs
2025-03-11 08:53:34 +08:00
parent 3a24815bed
commit b891951a67
2 changed files with 7 additions and 4 deletions

View File

@@ -1,13 +1,13 @@
#!/bin/bash
# 声明应用的名称和使用的端口号
APP_NAME=jsowell-admin.jar
PORT=8080 # 假设应用绑定到这个端口
APP_NAME=jsowell-admin.jar
PORT=8080 # 假设应用绑定到这个端口
# 使用函数来显示脚本的使用方式,并退出脚本
usage() {
echo "Usage: sh app.sh [start|stop|restart|status]"
exit 1
}
}
# 检查应用是否已经在运行
is_exist(){