refactor: 调整volume-linker.sh的输出格式

pull/1337/head
zhangxinhui02 2025-10-31 11:00:48 +08:00
parent 7e24a8739a
commit e74157ba36
No known key found for this signature in database
GPG Key ID: 22C23383864A313F
1 changed files with 3 additions and 3 deletions

View File

@ -5,14 +5,14 @@
# /MaiMBot/statistics是统计数据的实际挂载路径
set -e
echo "[VolumeLinker]Preparing volume..."
echo "[VolumeLinker] Preparing volume..."
# 初次启动,在存储卷中检查并创建关键文件和目录
mkdir -p /MaiMBot/data/plugins
mkdir -p /MaiMBot/data/logs
if [ ! -d "/MaiMBot/statistics" ]
then
echo "[VolumeLinker] Statistics volume disabled."
echo "[VolumeLinker] Statistics volume disabled."
else
touch /MaiMBot/statistics/index.html
fi
@ -29,5 +29,5 @@ then
fi
# 启动麦麦
echo "[VolumeLinker]Starting MaiBot..."
echo "[VolumeLinker] Starting MaiBot..."
exec python bot.py