refactor(LogicServer): 添加 start.sh 脚本并更新 Docker Compose 配置
- 新增 start.sh 脚本用于启动 Logic 服务器 - 更新 docker-compose.yml 文件,将 entrypoint 改为 start.sh - 优化服务器启动流程,提高自动化程度
This commit is contained in:
11
LogicServer/start.sh
Normal file
11
LogicServer/start.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
cd $(cd "$(dirname "$0")" && pwd)
|
||||
path=`pwd`
|
||||
./stop.sh
|
||||
|
||||
echo "======================【启动】========================"
|
||||
datetime=`date "+%Y-%m-%d.%H:%M:%S"`
|
||||
|
||||
echo "["$datetime"] 正在启动 Logic 服务器 [logicserver_r]..."
|
||||
|
||||
$path/LogicServer/logicserver_r $path/LogicServer/LogicServerLinux.txt
|
||||
Reference in New Issue
Block a user