From 42655e25750fbf83dabed9f9387674caadafbd53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= Date: Mon, 30 Apr 2018 16:34:52 +0200 Subject: [PATCH] [Update] Do only replace port 9000 if host is phpfpm --- update.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update.sh b/update.sh index 1ade0a02..02a3b613 100755 --- a/update.sh +++ b/update.sh @@ -220,9 +220,9 @@ sed -i 's#COMPOSEPROJECT_NAME#COMPOSE_PROJECT_NAME#g' mailcow.conf sed -i '/COMPOSE_PROJECT_NAME=/s/-//g' mailcow.conf echo -e "Fixing PHP-FPM worker ports for Nginx sites..." -sed -i 's#9000#9002#g' data/conf/nginx/*.conf +sed -i 's#phpfpm:9000#phpfpm:9002#g' data/conf/nginx/*.conf if ls data/conf/nginx/*.custom 1> /dev/null 2>&1; then - sed -i 's#9000#9002#g' data/conf/nginx/*.custom + sed -i 's#phpfpm:9000#phpfpm:9002#g' data/conf/nginx/*.custom fi if [[ -f "data/web/nextcloud/occ" ]]; then