feat: 手续费改为逐笔USD累算 + Vite React前端 + system_orders表 + README
This commit is contained in:
@@ -23,8 +23,8 @@ for arg in "$@"; do
|
||||
esac
|
||||
done
|
||||
|
||||
# 清理旧进程(通过进程名而非端口,更可靠)
|
||||
OLD_PIDS=$(pgrep -f exchange-monitor 2>/dev/null || true)
|
||||
# 清理旧进程(pkill 按进程名匹配,不会匹配到 start.sh 自身)
|
||||
OLD_PIDS=$(pgrep exchange-monitor 2>/dev/null || true)
|
||||
if [ -n "$OLD_PIDS" ]; then
|
||||
echo "[start] 停止旧进程 PID=$OLD_PIDS..."
|
||||
kill $OLD_PIDS 2>/dev/null || true
|
||||
|
||||
Reference in New Issue
Block a user