mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-19 18:45:03 +08:00
update .sh文件
This commit is contained in:
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user