File tree Expand file tree Collapse file tree 2 files changed +14
-14
lines changed
Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -1193,14 +1193,14 @@ if [ "$multiphp" = 'yes' ] ; then
11931193 for v in " ${multiphp_v[@]} " ; do
11941194 cp -r /etc/php/$v / /root/hst_install_backups/php$v /
11951195 rm -f /etc/php/$v /fpm/pool.d/*
1196-
1197- $HESTIA /bin/v-add-web-php " $v "
1196+ echo " (*) Install PHP version $v ... "
1197+ $HESTIA /bin/v-add-web-php " $v " > /dev/null 2>&1
11981198 done
11991199fi
12001200
12011201if [ " $phpfpm " = ' yes' ]; then
12021202 echo " (*) Configuring PHP-FPM..."
1203- $HESTIA /bin/v-add-web-php " $fpm_v "
1203+ $HESTIA /bin/v-add-web-php " $fpm_v " > /dev/null 2>&1
12041204 cp -f $HESTIA_INSTALL_DIR /php-fpm/www.conf /etc/php/$fpm_v /fpm/pool.d/www.conf
12051205 update-rc.d php$fpm_v -fpm defaults > /dev/null 2>&1
12061206 systemctl start php$fpm_v -fpm >> $LOG
@@ -1833,11 +1833,11 @@ $HESTIA/bin/v-add-user-notification admin 'Welcome!' 'For more information on ho
18331833echo " (!) IMPORTANT: You must logout or restart the server before continuing."
18341834echo " "
18351835if [ " $interactive " = ' yes' ]; then
1836- echo -n " Do you want to logout now? [Y/N] "
1837- read resetshell
1836+ echo -n " Do you want to reboot now? [Y/N] "
1837+ read reboot
18381838
1839- if [ " $resetshell " = " Y" ] || [ " $resetshell " = " y" ]; then
1840- exit
1839+ if [ " $reboot " = " Y" ] || [ " $reboot " = " y" ]; then
1840+ reboot
18411841 fi
18421842fi
18431843
Original file line number Diff line number Diff line change @@ -1160,14 +1160,14 @@ if [ "$multiphp" = 'yes' ] ; then
11601160 for v in " ${multiphp_v[@]} " ; do
11611161 cp -r /etc/php/$v / /root/hst_install_backups/php$v /
11621162 rm -f /etc/php/$v /fpm/pool.d/*
1163-
1164- $HESTIA /bin/v-add-web-php " $v "
1163+ echo " (*) Install PHP version $v ... "
1164+ $HESTIA /bin/v-add-web-php " $v " > /dev/null 2>&1
11651165 done
11661166fi
11671167
11681168if [ " $phpfpm " = ' yes' ]; then
11691169 echo " (*) Configuring PHP-FPM..."
1170- $HESTIA /bin/v-add-web-php " $fpm_v "
1170+ $HESTIA /bin/v-add-web-php " $fpm_v " > /dev/null 2>&1
11711171 cp -f $HESTIA_INSTALL_DIR /php-fpm/www.conf /etc/php/$fpm_v /fpm/pool.d/www.conf
11721172 update-rc.d php$fpm_v -fpm defaults > /dev/null 2>&1
11731173 systemctl start php$fpm_v -fpm >> $LOG
@@ -1760,11 +1760,11 @@ $HESTIA/bin/v-add-user-notification admin 'Welcome!' 'For more information on ho
17601760echo " (!) IMPORTANT: You must logout or restart the server before continuing."
17611761echo " "
17621762if [ " $interactive " = ' yes' ]; then
1763- echo -n " Do you want to logout now? [Y/N] "
1764- read resetshell
1763+ echo -n " Do you want to reboot now? [Y/N] "
1764+ read reboot
17651765
1766- if [ " $resetshell " = " Y" ] || [ " $resetshell " = " y" ]; then
1767- exit
1766+ if [ " $reboot " = " Y" ] || [ " $reboot " = " y" ]; then
1767+ reboot
17681768 fi
17691769fi
17701770
You can’t perform that action at this time.
0 commit comments