From 665ef040d8fe8fc30b33c3340367c0cdee286c0c Mon Sep 17 00:00:00 2001 From: wangzhibiao Date: Mon, 14 Sep 2026 14:13:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=81=E7=BB=AD=E9=9B=86=E6=88=90=EF=BC=9A?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0Redis=E8=BF=90=E8=A1=8C=E6=97=B6=E5=AF=86?= =?UTF-8?q?=E7=A0=81=E9=A2=84=E6=A3=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/restart-all.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/deploy/restart-all.sh b/deploy/restart-all.sh index ef62651a6..658a6e381 100644 --- a/deploy/restart-all.sh +++ b/deploy/restart-all.sh @@ -31,6 +31,11 @@ if [ -z "${TRAIN_STUDENT_IDENTITY_HASH_KEY:-}" ]; then exit 1 fi +if [ -z "${SPRING_REDIS_PASSWORD:-}" ]; then + echo "错误:缺少 SPRING_REDIS_PASSWORD" + exit 1 +fi + echo "运行时安全配置存在性检查通过" echo "=== 1. 检查并停止当前用户的旧后端进程 ==="