We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e62e41a commit 34504a7Copy full SHA for 34504a7
1 file changed
install/upgrade/versions/1.0.3.sh
@@ -39,3 +39,11 @@ done
39
if [ ! -z "$resolver" ]; then
40
sed -i "s/1.0.0.1 1.1.1.1/$resolver/g" /usr/local/hestia/nginx/conf/nginx.conf
41
fi
42
+
43
+# Remove Webalizer and set AWStats as default
44
+WEBALIZER_CHECK=$(cat $HESTIA/conf/hestia.conf | grep webalizer)
45
+if [ ! -z "$WEBALIZER_CHECK" ]; then
46
+ echo "(*) Removing Webalizer and setting AWStats as default web statistics backend..."
47
+ apt purge webalizer -y > /dev/null 2>&1
48
+ sed -i "s/STATS_SYSTEM='webalizer,awstats'/STATS_SYSTEM='awstats'/g" $HESTIA/conf/hestia.conf
49
+fi
0 commit comments