@@ -461,8 +461,8 @@ cp -r /etc/apache2/* $vst_backups/apache2 > /dev/null 2>&1
461461rm -f /etc/apache2/conf.d/* > /dev/null 2>&1
462462
463463# Backing up PHP configuration
464- service php7.0-fpm stop > /dev/null 2>&1
465- service php5-fpm stop > /dev/null 2>&1
464+ service php7.0-fpm stop > /dev/null 2>&1
465+ service php5-fpm stop > /dev/null 2>&1
466466cp -r /etc/php5/* $vst_backups /php/ > /dev/null 2>&1
467467cp -r /etc/php/* $vst_backups /php/ > /dev/null 2>&1
468468
@@ -476,7 +476,7 @@ cp /etc/vsftpd.conf $vst_backups/vsftpd > /dev/null 2>&1
476476
477477# Backing up ProFTPD configuration
478478service proftpd stop > /dev/null 2>&1
479- cp /etc/proftpd.conf $vst_backups /proftpd > /dev/null 2>&1
479+ cp /etc/proftpd.conf $vst_backups /proftpd > /dev/null 2>&1
480480
481481# Backing up Exim configuration
482482service exim4 stop > /dev/null 2>&1
@@ -517,7 +517,7 @@ rm -rf $VESTA > /dev/null 2>&1
517517
518518
519519# ----------------------------------------------------------#
520- # Package Exludes #
520+ # Package Excludes #
521521# ----------------------------------------------------------#
522522
523523# Excluding packages
@@ -645,7 +645,7 @@ chmod 755 /usr/bin/rssh
645645
646646
647647# ----------------------------------------------------------#
648- # Configure VESTA #
648+ # Configure Vesta #
649649# ----------------------------------------------------------#
650650
651651
@@ -665,7 +665,7 @@ source /root/.bash_profile
665665# Configuring logrotate for Vesta logs
666666wget $vestacp /logrotate/vesta -O /etc/logrotate.d/vesta
667667
668- # Buidling directory tree and creating some blank files for Vesta
668+ # Building directory tree and creating some blank files for Vesta
669669mkdir -p $VESTA /conf $VESTA /log $VESTA /ssl $VESTA /data/ips \
670670 $VESTA /data/queue $VESTA /data/users $VESTA /data/firewall \
671671 $VESTA /data/sessions
@@ -744,7 +744,7 @@ if [ "$exim" = 'yes' ]; then
744744 fi
745745fi
746746
747- # CRON daemon
747+ # Cron daemon
748748echo " CRON_SYSTEM='cron'" >> $VESTA /conf/vesta.conf
749749
750750# Firewall stack
@@ -1158,7 +1158,7 @@ $VESTA/bin/v-update-sys-ip
11581158# Get main IP
11591159ip=$( ip addr| grep ' inet ' | grep global| head -n1| awk ' {print $2}' | cut -f1 -d/)
11601160
1161- # Firewall configuration
1161+ # Configuring firewall
11621162if [ " $iptables " = ' yes' ]; then
11631163 $VESTA /bin/v-update-firewall
11641164fi
@@ -1170,7 +1170,7 @@ if [ ! -z "$pub_ip" ] && [ "$pub_ip" != "$ip" ]; then
11701170 ip=$pub_ip
11711171fi
11721172
1173- # Configuring MySQL host
1173+ # Configuring MySQL/MariaDB host
11741174if [ " $mysql " = ' yes' ]; then
11751175 $VESTA /bin/v-add-database-host mysql localhost root $vpass
11761176 $VESTA /bin/v-add-database admin default default $( gen_pass) mysql
0 commit comments