修改配置

This commit is contained in:
vet
2026-04-13 23:31:38 +07:00
parent d6572d2217
commit bf473bad87

View File

@@ -17,7 +17,8 @@ FE_PROJECTS=(pc meetingh5 h5 cms build-cms build-down)
TARGET="${1:-all}"
_stop_fe() {
local name="$1" pidfile="$PID_DIR/fe-${name}.pid"
local name="$1"
local pidfile="$PID_DIR/fe-${name}.pid"
if [[ -f "$pidfile" ]]; then
local pid; pid=$(cat "$pidfile")
if kill -0 "$pid" 2>/dev/null; then