We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 873d20c commit f7aba9aCopy full SHA for f7aba9a
install/upgrade/versions/1.0.3.sh
@@ -51,7 +51,12 @@ if [ ! -z "$WEBALIZER_CHECK" ]; then
51
sed -i "s/STATS_SYSTEM='webalizer,awstats'/STATS_SYSTEM='awstats'/g" $HESTIA/conf/hestia.conf
52
fi
53
54
-# Remove hestia.conf in nginx.d
+# Remove old hestia.conf files from Apache & NGINX if they exist
55
if [ -f "/etc/nginx/conf.d/hestia.conf" ]; then
56
+ echo "(*) Removing old Apache configuration file..."
57
+ rm -f /etc/apache2/conf.d/hestia.conf
58
+fi
59
+if [ -f "/etc/nginx/conf.d/hestia.conf" ]; then
60
+ echo "(*) Removing old NGINX configuration file..."
61
rm -f /etc/nginx/conf.d/hestia.conf
62
0 commit comments