Skip to content

Commit

Permalink
Merge pull request oneinstack#318 from juicechu/master
Browse files Browse the repository at this point in the history
fix openrestry upgrade failed
  • Loading branch information
bypanelcom committed Jul 17, 2020
2 parents d05735f + 1550d47 commit 0a045f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/upgrade_web.sh
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ Upgrade_OpenResty() {
${openresty_install_dir}/nginx/sbin/nginx -V &> $$
./configure --prefix=${openresty_install_dir} --user=${run_user} --group=${run_user} --with-http_stub_status_module --with-http_v2_module --with-http_ssl_module --with-http_gzip_static_module --with-http_realip_module --with-http_flv_module --with-http_mp4_module --with-openssl=../openssl-${openssl11_ver} --with-pcre=../pcre-${pcre_ver} --with-pcre-jit --with-ld-opt='-ljemalloc -Wl,-u,pcre_version' ${nginx_modules_options}
make -j ${THREAD}
if [ -f "build/nginx-${openresty_ver_tmp}/objs/nginx" ]; then
if [ -f "build/nginx-${NEW_openresy_ver%.*}/objs/nginx" ]; then
/bin/mv ${openresty_install_dir}/nginx/sbin/nginx{,`date +%m%d`}
make install
kill -USR2 `cat /var/run/nginx.pid`
Expand Down

0 comments on commit 0a045f2

Please sign in to comment.