From e51e2dfe275beceee59b721cff9308e43d081ecb Mon Sep 17 00:00:00 2001 From: dami Date: Fri, 3 Apr 2026 03:12:58 +0800 Subject: [PATCH] Update install.sh --- plugins/openresty/install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/openresty/install.sh b/plugins/openresty/install.sh index dc5d32da4..9a4e4d04f 100755 --- a/plugins/openresty/install.sh +++ b/plugins/openresty/install.sh @@ -33,6 +33,8 @@ else fi if [ "${action}" == "upgrade" ];then + sh -x $curPath/versions/$2/install.sh $1 + echo "${VERSION}" > $serverPath/openresty/version.pl mkdir -p $serverPath/web_conf/php/conf @@ -41,6 +43,7 @@ if [ "${action}" == "upgrade" ];then #初始化 cd ${rootPath} && python3 ${rootPath}/plugins/openresty/index.py start cd ${rootPath} && python3 ${rootPath}/plugins/openresty/index.py initd_install + exit 0 fi