Просмотр исходного кода

Remove port change (new in hestia-nginx) and remove rebuild dns/mail.

Raphael Schneeberger 6 лет назад
Родитель
Сommit
860e526442
2 измененных файлов с 0 добавлено и 7 удалено
  1. 0 5
      install/upgrade/versions/0.9.8-28.sh
  2. 0 2
      install/upgrade/versions/1.0.1.sh

+ 0 - 5
install/upgrade/versions/0.9.8-28.sh

@@ -23,11 +23,6 @@ if [ -f /usr/local/hestia/data/firewall/ports.conf ]; then
     rm -f /usr/local/hestia/data/firewall/ports.conf
 fi
 
-# Reset backend port
-if [ ! -z "$BACKEND_PORT" ]; then
-    /usr/local/hestia/bin/v-change-sys-port $BACKEND_PORT
-fi
-
 # Move clamav to proper location - https://goo.gl/zNuM11
 if [ ! -d /usr/local/hestia/web/edit/server/clamav-daemon ]; then
     mv /usr/local/hestia/web/edit/server/clamd /usr/local/web/edit/server/clamav-daemon

+ 0 - 2
install/upgrade/versions/1.0.1.sh

@@ -24,8 +24,6 @@ source /usr/local/hestia/conf/hestia.conf
 if [ -d $HESTIA/data/templates/ ]; then
     cp -rf $HESTIA/data/templates $HESTIA_BACKUP/templates/
     $HESTIA/bin/v-update-web-templates
-    $HESTIA/bin/v-update-dns-templates
-	$HESTIA/bin/v-update-mail-templates
 fi
 
 # Update Apache and Nginx configuration to support new file structure