Update index.py

pull/437/head
midoks 2 years ago
parent f4f25b8ab3
commit 04e6b9367a
  1. 4
      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'

Loading…
Cancel
Save