Skip to content

Commit 08e47db

Browse files
committed
Remove hestia.conf in nginx.d directory during upgrade.
1 parent d5d3f63 commit 08e47db

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

install/upgrade/versions/1.0.3.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,9 @@ if [ ! -z "$WEBALIZER_CHECK" ]; then
4949
rm -fr $HESTIA/install/deb/templates/web/webalizer
5050
rm -fr /var/www/webalizer
5151
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
55+
if [ -f "/etc/nginx/conf.d/hestia.conf" ]; then
56+
rm -f /etc/nginx/conf.d/hestia.conf
5257
fi

0 commit comments

Comments
 (0)