|
@@ -118,7 +118,7 @@ apt-key add deb_signing.key
|
|
|
# Remove vesta packages
|
|
# Remove vesta packages
|
|
|
echo "Remove VestaCP packages..."
|
|
echo "Remove VestaCP packages..."
|
|
|
systemctl stop vesta
|
|
systemctl stop vesta
|
|
|
-apt-get -qq remove vesta vesta-nginx vesta-php vesta-ioncube vesta-softaculous -y > /dev/null
|
|
|
|
|
|
|
+apt-get -qq remove vesta vesta-nginx vesta-php vesta-ioncube vesta-softaculous -y > /dev/null 2>&1
|
|
|
|
|
|
|
|
# Clear up softaculous
|
|
# Clear up softaculous
|
|
|
rm -fr /usr/local/vesta/softaculous
|
|
rm -fr /usr/local/vesta/softaculous
|
|
@@ -129,6 +129,12 @@ mv /etc/profile.d/vesta.sh /etc/profile.d/hestia.sh
|
|
|
mv /usr/local/vesta $HESTIA
|
|
mv /usr/local/vesta $HESTIA
|
|
|
mv $HESTIA/conf/vesta.conf $HESTIA/conf/hestia.conf
|
|
mv $HESTIA/conf/vesta.conf $HESTIA/conf/hestia.conf
|
|
|
|
|
|
|
|
|
|
+# Install hestia packages
|
|
|
|
|
+echo "Update System Repository and install HestiaCP Packages..."
|
|
|
|
|
+apt-get -qq update
|
|
|
|
|
+apt-get -qq upgrade -y > /dev/null 2>&1
|
|
|
|
|
+apt-get -qq install hestia hestia-nginx hestia-php -y > /dev/null 2>&1
|
|
|
|
|
+
|
|
|
# Add changed configuration files
|
|
# Add changed configuration files
|
|
|
echo "export HESTIA='$HESTIA'" >> /etc/profile.d/hestia.sh
|
|
echo "export HESTIA='$HESTIA'" >> /etc/profile.d/hestia.sh
|
|
|
|
|
|
|
@@ -151,12 +157,6 @@ sed -i 's/vesta/hestia/g' /etc/roundcube/config.inc.php
|
|
|
rm /etc/logrotate.d/vesta
|
|
rm /etc/logrotate.d/vesta
|
|
|
cp -f $hestiacp/logrotate/vesta /etc/logrotate.d/hestia
|
|
cp -f $hestiacp/logrotate/vesta /etc/logrotate.d/hestia
|
|
|
|
|
|
|
|
-# Install hestia packages
|
|
|
|
|
-echo "Update System Repository and install HestiaCP Packages..."
|
|
|
|
|
-apt-get -qq update
|
|
|
|
|
-apt-get -qq upgrade -y
|
|
|
|
|
-apt-get -qq install hestia hestia-nginx hestia-php -y
|
|
|
|
|
-
|
|
|
|
|
# Restart hestia service once
|
|
# Restart hestia service once
|
|
|
systemctl restart hestia
|
|
systemctl restart hestia
|
|
|
|
|
|