@@ -21,21 +21,21 @@ there are more released versions on the releases page previously mentioned.
2121### Ubuntu/Debian
2222
2323``` console
24- $ wget https://liam.sh/ghr/geoip_0.1.3_linux_amd64 .deb
25- $ dpkg -i geoip_0.1.3_linux_amd64 .deb
24+ $ wget https://liam.sh/ghr/geoip_0.1.4_linux_amd64 .deb
25+ $ dpkg -i geoip_0.1.4_linux_amd64 .deb
2626```
2727
2828### CentOS/Redhat
2929
3030``` console
31- $ yum localinstall https://liam.sh/ghr/geoip_0.1.3_linux_amd64 .rpm
31+ $ yum localinstall https://liam.sh/ghr/geoip_0.1.4_linux_amd64 .rpm
3232```
3333
3434### Manual Install
3535
3636``` console
37- $ wget https://liam.sh/ghr/geoip_0.1.3_linux_amd64 .tar.gz
38- $ tar -C /usr/bin/ -xzvf geoip_0.1.3_linux_amd64 .tar.gz geoip
37+ $ wget https://liam.sh/ghr/geoip_0.1.4_linux_amd64 .tar.gz
38+ $ tar -C /usr/bin/ -xzvf geoip_0.1.4_linux_amd64 .tar.gz geoip
3939$ chmod +x /usr/bin/geoip
4040```
4141
@@ -80,8 +80,10 @@ Application Options:
8080 -d, --debug enable exception display and pprof endpoints (warn: dangerous)
8181 -q, --quiet disable verbose output
8282 --db= path to read/store Maxmind DB (default: geoip.db)
83- --interval= interval of time between database update checks (default: 2h)
84- --update-url= maxmind database file download location (must be gzipped) (default: http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz)
83+ --interval= interval of time between database update checks (default: 12h)
84+ --update-url= maxmind database file download location (must be gzipped) (default:
85+ https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=%s&suffix=tar.gz) [$MAXMIND_UPDATE_URL]
86+ --license-key= maxmind license key (must register for a maxmind account) [$MAXMIND_LICENSE_KEY]
8587 -v, --version print the version and compilation date
8688
8789Cache Options:
0 commit comments