File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ All notable changes to this project will be documented in this file.
44## [ Development]
55
66- Allow custom mail domains with own certificates #2061 @myrevery
7+ - Fixed #2082 v-delete-web-php creates always new config file
78
89## [ 1.4.11] - Service release
910
Original file line number Diff line number Diff line change 9393[[ -d /etc/php/$version ]] && rm -rf " /etc/php/$version "
9494
9595if [ " $WEB_BACKEND " = " php-fpm" ]; then
96- # Check if www.conf is still missing
97- if [ ! -f " /etc/php/*/fpm/pool.d/www.conf" ]; then
96+ conf=$( find /etc/php* -name www.conf)
97+ # Check if www.conf exists
98+ if [ -z " $conf " ]; then
9899 # If not grab the "last php version
99- last=$( $HESTIA /bin /v-list-sys-php " shell" | tail -n1) ;
100+ last=$( $BIN /v-list-sys-php " shell" | tail -n1) ;
100101 cp -f $HESTIA /install/deb/php-fpm/www.conf /etc/php/$last /fpm/pool.d/www.conf
101- $HESTIA /bin /v-restart-web-backend
102+ $BIN /v-restart-web-backend
102103 fi
103104fi
104105
You can’t perform that action at this time.
0 commit comments