pull/632/head
Mr Chen 6 months ago
parent 5788693e6c
commit fa64dfb89b
  1. 1
      plugins/openresty/install.sh
  2. 5
      plugins/openresty/versions/1.17.8/install.sh
  3. 4
      plugins/openresty/versions/1.19.3/install.sh
  4. 4
      plugins/openresty/versions/1.21.4/install.sh
  5. 4
      plugins/openresty/versions/1.25.3/install.sh
  6. 4
      plugins/openresty/versions/1.27.1/install.sh

@ -57,5 +57,4 @@ if [ "${action}" == "install" ] && [ -d $serverPath/openresty ];then
#初始化
cd ${rootPath} && python3 ${rootPath}/plugins/openresty/index.py start
cd ${rootPath} && python3 ${rootPath}/plugins/openresty/index.py initd_install
rm -rf $openrestyDir/openresty-${VERSION}
fi

@ -149,6 +149,11 @@ Install_openresty()
if [ -d ${openrestyDir}/libressl-${libresslVersion} ];then
rm -rf ${openrestyDir}/libressl-${libresslVersion}
fi
if [ -d $openrestyDir/openresty-${VERSION} ];then
rm -rf $openrestyDir/openresty-${VERSION}
fi
echo '安装完成'
}

@ -150,6 +150,10 @@ Install_openresty()
if [ -d ${openrestyDir}/libressl-${libresslVersion} ];then
rm -rf ${openrestyDir}/libressl-${libresslVersion}
fi
if [ -d $openrestyDir/openresty-${VERSION} ];then
rm -rf $openrestyDir/openresty-${VERSION}
fi
echo '安装完成'
}

@ -149,6 +149,10 @@ Install_openresty()
if [ -d ${openrestyDir}/libressl-${libresslVersion} ];then
rm -rf ${openrestyDir}/libressl-${libresslVersion}
fi
if [ -d $openrestyDir/openresty-${VERSION} ];then
rm -rf $openrestyDir/openresty-${VERSION}
fi
echo '安装完成'
}

@ -164,6 +164,10 @@ Install_openresty()
if [ -d ${openrestyDir}/libressl-${libresslVersion} ];then
rm -rf ${openrestyDir}/libressl-${libresslVersion}
fi
if [ -d $openrestyDir/openresty-${VERSION} ];then
rm -rf $openrestyDir/openresty-${VERSION}
fi
echo '安装完成'
}

@ -164,6 +164,10 @@ Install_openresty()
if [ -d ${openrestyDir}/libressl-${libresslVersion} ];then
rm -rf ${openrestyDir}/libressl-${libresslVersion}
fi
if [ -d $openrestyDir/openresty-${VERSION} ];then
rm -rf $openrestyDir/openresty-${VERSION}
fi
echo '安装完成'
}

Loading…
Cancel
Save