From 311268b558320ad339b0fe7bcaec77b9bed56bcc Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Mon, 25 Mar 2019 16:38:09 +0100 Subject: [PATCH] fix php-fpm pool removal during upgrade --- install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install b/install index cb6315b..1fede4e 100644 --- a/install +++ b/install @@ -453,12 +453,12 @@ wo_upgrade_nginx() { # remove previous php-fpm pool configuration if [ -n "$CHECK_PHP72" ]; then apt-get remove php7.2-fpm -y -qq --purge - rm -f /etc/php/7.2/fpm/pool.d/* + rm -f /etc/php/7.2/fpm/pool.d/{www.conf,www-two.conf,debug.conf} fi /usr/local/bin/wo stack install --nginx --php if [ -n "$CHECK_PHP73" ]; then apt-get remove php7.3-fpm -y -qq --purge - rm -f /etc/php/7.3/fpm/pool.d/* + rm -f /etc/php/7.3/fpm/pool.d/{www.conf,www-two.conf,debug.conf} /usr/local/bin/wo stack install --php73 fi fi