Update index.py

This commit is contained in:
midoks
2022-08-12 12:07:08 +08:00
parent 8b00a7436a
commit bc640ad888
+6
View File
@@ -296,6 +296,10 @@ def errorLogPath():
return getServerDir() + '/nginx/logs/error.log'
def installPreInspection():
return 'ok'
if __name__ == "__main__":
func = sys.argv[1]
if func == 'status':
@@ -314,6 +318,8 @@ if __name__ == "__main__":
print(initdInstall())
elif func == 'initd_uninstall':
print(initdUinstall())
elif func == 'install_pre_inspection':
print(installPreInspection())
elif func == 'conf':
print(getConf())
elif func == 'get_os':