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]