Skip to content

Commit

Permalink
2.0.7
Browse files Browse the repository at this point in the history
* when cloning the site, the php pool was always created anew regardless of whether it was already created or not
  • Loading branch information
progreccor committed Apr 21, 2024
1 parent 79a09a3 commit f9fa4b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions clonesite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -333,10 +333,10 @@ CloneSite() {

echo -e "${CURSORUP}Выбрана версия ${GREEN}${selected_php}${WHITE}"

if [[ ! -f "/etc/opt/remi/${selected_php}/php-fpm.d/${username}.conf" ]]; then
if [[ ! -f "/etc/opt/remi/${selected_php}/php-fpm.d/${localuser}.conf" ]]; then
# Если пул для этой версии PHP еще не был создан, то создаем
echo
echo -e "Выберите режим работы PHP для пользователя ${GREEN}${username}${WHITE}:"
echo -e "Выберите режим работы PHP для пользователя ${GREEN}${localuser}${WHITE}:"
vertical_menu "current" 2 0 5 "ondemand - оптимально расходует память" "dynamic - более оперативно реагирует на запросы"
ret=$?
local php_mode
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.6
2.0.7

0 comments on commit f9fa4b2

Please sign in to comment.