Эх сурвалжийг харах

Remove hestia.conf in nginx.d directory during upgrade.

Raphael Schneeberger 6 жил өмнө
parent
commit
08e47db582

+ 5 - 0
install/upgrade/versions/1.0.3.sh

@@ -49,4 +49,9 @@ if [ ! -z "$WEBALIZER_CHECK" ]; then
     rm -fr $HESTIA/install/deb/templates/web/webalizer
     rm -fr /var/www/webalizer
     sed -i "s/STATS_SYSTEM='webalizer,awstats'/STATS_SYSTEM='awstats'/g" $HESTIA/conf/hestia.conf
+fi
+
+# Remove hestia.conf in nginx.d
+if [ -f "/etc/nginx/conf.d/hestia.conf" ]; then
+    rm -f /etc/nginx/conf.d/hestia.conf
 fi