Update index.py
This commit is contained in:
parent
0a87dcc610
commit
5942c2e822
|
|
@ -304,6 +304,7 @@ def zOp(method):
|
|||
initDreplace()
|
||||
|
||||
data = mw.execShell('systemctl ' + method + ' zabbix-server')
|
||||
mw.execShell('systemctl ' + method + ' zabbix-agent')
|
||||
if data[1] == '':
|
||||
return 'ok'
|
||||
return data[1]
|
||||
|
|
|
|||
Loading…
Reference in New Issue