Update index.py

pull/618/head
Mr Chen 10 months ago
parent 8d1ce42004
commit 1608fae975
  1. 8
      plugins/zabbix/index.py

@ -224,6 +224,14 @@ def start():
def stop():
val = zOp('stop')
# 删除nginx配置
nginx_dst_vhost = zabbixNginxConf()
if os.path.exists(nginx_dst_vhost):
os.remove(nginx_dst_vhost)
mw.restartWeb()
return val
def restart():

Loading…
Cancel
Save