Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Commit

Permalink
fix fpm switch and restart
Browse files Browse the repository at this point in the history
  • Loading branch information
noogen committed Jun 17, 2020
1 parent 44388d6 commit 1ab7cb2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rootfs/sysprepz/apache2-templates/php72fpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion rootfs/sysprepz/apache2-templates/php73fpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion rootfs/sysprepz/apache2-templates/php74fpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1ab7cb2

Please sign in to comment.