diff --git a/Dockerfile b/Dockerfile index 1e59f23..dae4217 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM niiknow/docker-hostingbase:1.5.2 +FROM niiknow/docker-hostingbase:1.5.3 LABEL maintainer="noogen " ENV DEBIAN_FRONTEND=noninteractive \ VESTA=/usr/local/vesta \ diff --git a/rootfs/sysprepz/apache2-templates/php72fpm.sh b/rootfs/sysprepz/apache2-templates/php72fpm.sh index 80d7de9..61f94b9 100755 --- a/rootfs/sysprepz/apache2-templates/php72fpm.sh +++ b/rootfs/sysprepz/apache2-templates/php72fpm.sh @@ -43,7 +43,7 @@ rm -f /home/$user/web/$domain/cgi-bin/php*-fpm.conf # otherwise, simply use: # find /etc/init.d/ -name 'php*-fpm*' -type f -exec basename {} \; | xargs -I{} service {} restart || true phpfpms="7.2:7.3:7.4" -set -f # avoid globbing (expansion of *). + iphpfpm=(${phpfpms//:/ }) for i in "${!iphpfpm[@]}" do diff --git a/rootfs/sysprepz/apache2-templates/php73fpm.sh b/rootfs/sysprepz/apache2-templates/php73fpm.sh index 033c12f..258fcc7 100755 --- a/rootfs/sysprepz/apache2-templates/php73fpm.sh +++ b/rootfs/sysprepz/apache2-templates/php73fpm.sh @@ -43,7 +43,7 @@ rm -f /home/$user/web/$domain/cgi-bin/php*-fpm.conf # otherwise, simply use: # find /etc/init.d/ -name 'php*-fpm*' -type f -exec basename {} \; | xargs -I{} service {} restart || true phpfpms="7.2:7.3:7.4" -set -f # avoid globbing (expansion of *). + iphpfpm=(${phpfpms//:/ }) for i in "${!iphpfpm[@]}" do diff --git a/rootfs/sysprepz/apache2-templates/php74fpm.sh b/rootfs/sysprepz/apache2-templates/php74fpm.sh index 08f477c..60eb565 100755 --- a/rootfs/sysprepz/apache2-templates/php74fpm.sh +++ b/rootfs/sysprepz/apache2-templates/php74fpm.sh @@ -43,7 +43,7 @@ rm -f /home/$user/web/$domain/cgi-bin/php*-fpm.conf # otherwise, simply use: # find /etc/init.d/ -name 'php*-fpm*' -type f -exec basename {} \; | xargs -I{} service {} restart || true phpfpms="7.2:7.3:7.4" -set -f # avoid globbing (expansion of *). + iphpfpm=(${phpfpms//:/ }) for i in "${!iphpfpm[@]}" do