Skip to content

Commit 9c3f2ff

Browse files
authored
Minor fixes to ubuntu installer
2 parents 48b8c96 + 2fed311 commit 9c3f2ff

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

install/hst-install-ubuntu.sh

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -498,11 +498,7 @@ cp -r /etc/apache2/* $hst_backups/apache2 > /dev/null 2>&1
498498
rm -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
503501
service 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
506502
cp -r /etc/php/* $hst_backups/php/ > /dev/null 2>&1
507503

508504
# Backup Bind configuration
@@ -551,7 +547,6 @@ fi
551547
# Backup Hestia
552548
service hestia stop > /dev/null 2>&1
553549
cp -r $HESTIA/* $hst_backups/hestia > /dev/null 2>&1
554-
apt-get -y remove hestia hestia-nginx hestia-php > /dev/null 2>&1
555550
apt-get -y purge hestia hestia-nginx hestia-php > /dev/null 2>&1
556551
rm -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
731726
echo "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
733728
chmod 755 /etc/profile.d/hestia.sh
734729
source /etc/profile.d/hestia.sh
735730
echo 'PATH=$PATH:'$HESTIA'/bin' >> /root/.bash_profile
@@ -935,7 +930,7 @@ fi
935930
if [ "$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

Comments
 (0)