diff --git a/plugins/mongodb/index.py b/plugins/mongodb/index.py index c5c3c9694..5281dd9f8 100755 --- a/plugins/mongodb/index.py +++ b/plugins/mongodb/index.py @@ -122,6 +122,10 @@ def mgOp(method): if data[1] == '': return 'ok' return data[1] + + data = mw.execShell('systemctl ' + method + ' ' + getPluginName()) + if data[1] == '': + return 'ok' return 'fail'