From da73f5efeb9de5f0ab95a7b81bef0ce3d903ae24 Mon Sep 17 00:00:00 2001 From: aixianling Date: Fri, 10 Jan 2025 16:34:36 +0800 Subject: [PATCH] =?UTF-8?q?build(LogicServer):=20=E6=9B=B4=E6=96=B0=20run.?= =?UTF-8?q?sh=20=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加日期时间变量,格式化为年-月-日.时:分:秒 - 修改 Logic 服务器名称,统一为 logicserver_r - 优化脚本输出信息,增加启动时间戳 --- LogicServer/run.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/LogicServer/run.sh b/LogicServer/run.sh index 684a16e..e464117 100755 --- a/LogicServer/run.sh +++ b/LogicServer/run.sh @@ -2,7 +2,9 @@ ./stop.sh -echo "["$datetime"] 正在启动 Logic 服务器 [logicserver$dm]..." +datetime=`date "+%Y-%m-%d.%H:%M:%S"` + +echo "["$datetime"] 正在启动 Logic 服务器 [logicserver_r]..." if [ "$1" == "Debug" ]; then ./logicserver_d LogicServerLinux.txt