mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-29 03:33:19 -04:00
9 lines
272 B
Bash
9 lines
272 B
Bash
#!/bin/sh
|
|
|
|
DATE=$(date '+%Y-%m')
|
|
FILE="https://download.db-ip.com/free/dbip-country-lite-${DATE}.mmdb.gz"
|
|
|
|
wget -O /tmp/dbip-country-lite.mmdb.gz $FILE
|
|
gzip -df /tmp/dbip-country-lite.mmdb.gz
|
|
mv -f /tmp/dbip-country-lite.mmdb /config/geoip2db/dbip-country-lite.mmdb
|
|
exit 0 |