File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 9595if [ -d $HESTIA /data/templates/ ]; then
9696 echo " (*) Updating default templates and packages..."
9797 cp -rf $HESTIA /data/templates $HESTIA_BACKUP /templates/
98- $HESTIA /bin/v-update-web-templates
99- $HESTIA /bin/v-update-dns-templates
100- $HESTIA /bin/v-update-mail-templates
98+ $HESTIA /bin/v-update-web-templates > /dev/null 2>&1
99+ $HESTIA /bin/v-update-dns-templates > /dev/null 2>&1
100+ $HESTIA /bin/v-update-mail-templates > /dev/null 2>&1
101101fi
102102
103103# Back up default package and install latest version
@@ -205,11 +205,12 @@ chmod 755 /etc/cron.daily/php-session-cleanup
205205# Fix empty pool error message for MultiPHP
206206php_versions=$( ls /etc/php/* /fpm -d 2> /dev/null | wc -l)
207207if [ " $php_versions " -gt 1 ]; then
208+ echo " (*) Updating Multi-PHP configuration..."
208209 for v in $( ls /etc/php/) ; do
209210 if [ ! -d " /etc/php/$v /fpm/pool.d/" ]; then
210211 continue
211212 fi
212- echo " (*) Updating Multi-PHP configuration... "
213+
213214 cp -f $hestiacp /php-fpm/dummy.conf /etc/php/$v /fpm/pool.d/
214215 v1=$( echo " $v " | sed -e ' s/[.]//' )
215216 sed -i " s/9999/99$v1 /g" /etc/php/$v /fpm/pool.d/dummy.conf
You can’t perform that action at this time.
0 commit comments