Skip to content

Commit

Permalink
fix geoip db permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
philhagen committed Aug 10, 2023
1 parent 67b9438 commit 41a6af2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions supporting-scripts/distro_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ echo "Resetting GeoIP databases to distributed versions."
for GEOIPDB in ASN City Country; do
rm -f /usr/local/share/GeoIP/GeoLite2-${GEOIPDB}.mmdb
curl -s -L -o /usr/local/share/GeoIP/GeoLite2-${GEOIPDB}.mmdb https://lewestech.com/dist/GeoLite2-${GEOIPDB}.mmdb
chmod 644 /usr/local/share/GeoIP/GeoLite2-${GEOIPDB}.mmdb
done
rm -f /etc/GeoIP.conf
rm -f /etc/cron.d/geoipupdate
Expand Down

0 comments on commit 41a6af2

Please sign in to comment.