From e86707d7527a62aba86fa6f7375d16cab4f01533 Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 23 Oct 2023 16:19:17 +0800 Subject: [PATCH] Update index.py --- plugins/keepalived/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/keepalived/index.py b/plugins/keepalived/index.py index 05046c106..7c78ee76e 100755 --- a/plugins/keepalived/index.py +++ b/plugins/keepalived/index.py @@ -142,7 +142,7 @@ def redisOp(method): return 'ok' return data[1] - data = mw.execShell('systemctl ' + method + ' redis') + data = mw.execShell('systemctl ' + method + ' ' + getPluginName()) if data[1] == '': return 'ok' return data[1]