diff --git a/plugins/openresty/index.py b/plugins/openresty/index.py index 8fe7e0386..489a2571c 100755 --- a/plugins/openresty/index.py +++ b/plugins/openresty/index.py @@ -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':