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'