mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
update
This commit is contained in:
@@ -1398,6 +1398,10 @@ def installPreInspection():
|
||||
return "请先安装OpenResty"
|
||||
return 'ok'
|
||||
|
||||
def uninstallPreInspection():
|
||||
stop()
|
||||
return 'ok'
|
||||
|
||||
if __name__ == "__main__":
|
||||
func = sys.argv[1]
|
||||
if func == 'status':
|
||||
@@ -1412,6 +1416,8 @@ if __name__ == "__main__":
|
||||
print(reload())
|
||||
elif func == 'install_pre_inspection':
|
||||
print(installPreInspection())
|
||||
elif func == 'uninstall_pre_inspection':
|
||||
print(uninstallPreInspection())
|
||||
elif func == 'run_info':
|
||||
print(runInfo())
|
||||
elif func == 'get_global_conf':
|
||||
|
||||
Reference in New Issue
Block a user