Skip to content

Commit

Permalink
update geoip to new debian default
Browse files Browse the repository at this point in the history
  • Loading branch information
cproof committed Aug 30, 2023
1 parent 90d418e commit 21cc28e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/at/rtr/rmbt/utils/GeoIpHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ private static DatabaseReader getLookupService()
return null;
}
// A File object pointing to your GeoIP2 or GeoLite2 database
File database = new File("/usr/share/GeoIP/GeoLite2-Country.mmdb");
File database = new File("/var/lib/GeoIP/GeoLite2-Country.mmdb");
try
{
lookupService = new DatabaseReader.Builder(database).build();
Expand Down

0 comments on commit 21cc28e

Please sign in to comment.