Update index.py

This commit is contained in:
Mr Chen 2024-07-19 19:11:05 +08:00
parent 0a87dcc610
commit 5942c2e822
1 changed files with 1 additions and 0 deletions

View File

@ -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]