@@ -498,11 +498,7 @@ cp -r /etc/apache2/* $hst_backups/apache2 > /dev/null 2>&1
498498rm -f /etc/apache2/conf.d/* > /dev/null 2>&1
499499
500500# Backup PHP-FPM configuration
501- service php7.0-fpm stop > /dev/null 2>&1
502- service php5-fpm stop > /dev/null 2>&1
503501service php-fpm stop > /dev/null 2>&1
504- cp -r /etc/php7.0/* $hst_backups /php/ > /dev/null 2>&1
505- cp -r /etc/php5/* $hst_backups /php/ > /dev/null 2>&1
506502cp -r /etc/php/* $hst_backups /php/ > /dev/null 2>&1
507503
508504# Backup Bind configuration
551547# Backup Hestia
552548service hestia stop > /dev/null 2>&1
553549cp -r $HESTIA /* $hst_backups /hestia > /dev/null 2>&1
554- apt-get -y remove hestia hestia-nginx hestia-php > /dev/null 2>&1
555550apt-get -y purge hestia hestia-nginx hestia-php > /dev/null 2>&1
556551rm -rf $HESTIA > /dev/null 2>&1
557552
@@ -729,7 +724,7 @@ echo "admin ALL=NOPASSWD:/usr/local/hestia/bin/*" >> /etc/sudoers.d/admin
729724
730725# Configuring system env
731726echo " export HESTIA='$HESTIA '" > /etc/profile.d/hestia.sh
732- echo " export VESTA='$HESTIA '" >> /etc/profile.d/hestia.sh # Compatiblity to vesta
727+ echo " export VESTA='$HESTIA '" >> /etc/profile.d/hestia.sh # Vesta compatibility
733728chmod 755 /etc/profile.d/hestia.sh
734729source /etc/profile.d/hestia.sh
735730echo ' PATH=$PATH:' $HESTIA ' /bin' >> /root/.bash_profile
935930if [ " $apache " = ' yes' ]; then
936931 cp -f $hestiacp /apache2/apache2.conf /etc/apache2/
937932 cp -f $hestiacp /apache2/status.conf /etc/apache2/mods-enabled/
938- cp -f $hestiacp /logrotate/apache2 /etc/logrotate.d/
933+ cp -f $hestiacp /logrotate/apache2 /etc/logrotate.d/
939934 a2enmod rewrite
940935 a2enmod suexec
941936 a2enmod ssl
0 commit comments