From 91d6ff3c5464da842b464c9b31c81c7fb17b978c Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 10 Oct 2022 21:52:11 +0800 Subject: [PATCH] Update index.py --- plugins/redis/index.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/redis/index.py b/plugins/redis/index.py index f3664256f..2d73fb964 100755 --- a/plugins/redis/index.py +++ b/plugins/redis/index.py @@ -154,6 +154,10 @@ def reload(): def runInfo(): + s = status() + if s == 'stop': + return mw.returnJson(False, '未启动') + requirepass = "" conf = getServerDir() + '/redis.conf'