Upgrade dependencies, prepare to use geoipupdate to update data
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-04-02 22:39:15 -07:00
parent 8f9d9ad6fe
commit e16ea1d5a9
355 changed files with 36 additions and 176943 deletions

16
start.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/sh
set -euo pipefail
GEOIP=/usr/share/GeoIP/
if [[ ! -z "$GEOIP" ]]; then
while [[ ! -e "$GEOIP/GeoLite2-City.mmdb" ]]; do
echo waiting for geoip databases
sleep 4
done
fi
echo starting geoipapi
exec /bin/geoipapi $@