refactor(LogicServer): 在 run.sh 中添加停止服务器的步骤

- 在脚本开始时添加了 ./stop.sh 命令
- 这样可以确保在启动服务器之前,任何正在运行的实例都会被停止
This commit is contained in:
aixianling
2024-12-17 11:38:53 +08:00
parent 6afb6883ba
commit 22bc4bcbcb
2 changed files with 35 additions and 0 deletions

View File

@@ -1,4 +1,7 @@
#! /bin/bash
./stop.sh
if [ "$1" == "Debug" ]; then
./logicserver_d LogicServerLinux.txt
else