修复123解析 #123

This commit is contained in:
q
2025-09-12 17:34:07 +08:00
parent 55e6227de0
commit 5c60493a24
5 changed files with 56 additions and 25 deletions

14
bin/stop.sh Normal file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
# set -x
# 找到运行中的 Java 进程的 PID
PID=$(ps -ef | grep 'netdisk-fast-download.jar' | grep -v grep | awk '{print $2}')
if [ -z "$PID" ]; then
echo "未找到正在运行的进程 netdisk-fast-download.jar"
exit 1
else
# 杀掉进程
echo "停止 netdisk-fast-download.jar (PID: $PID)..."
kill -9 "$PID"
fi