From f001db6d56d84f3b90badb78287280b4eff5eb1b Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 11 Nov 2024 08:05:40 +0000 Subject: [PATCH 1/1] Use portable location for GeoIP database --- bin/mkgeo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mkgeo b/bin/mkgeo index 2c0453b..3a69d89 100755 --- a/bin/mkgeo +++ b/bin/mkgeo @@ -355,7 +355,7 @@ if (defined($gdnsname)) my $continent = ""; $gdnsmapfile->print("${gdnsname} => {\n"); - $gdnsmapfile->print(" geoip2_db => /usr/share/GeoIP/GeoLite2-Country.mmdb\n"); + $gdnsmapfile->print(" geoip2_db => /etc/gdnsd/geoip/GeoLite2-Country.mmdb\n"); $gdnsmapfile->print(" datacenters => [" . join(",", sort(keys(%$clusters))) . "]\n"); $gdnsmapfile->print(" map => {\n"); $gdnsmapfile->print(" default => [" . join(",", sort(map { $_->{name} } grep { $_->{default} } values(%$clusters))) . "]\n"); -- 2.39.5