summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkali kaneko <kali@leap.se>2018-12-11 13:47:29 +0100
committerkali kaneko <kali@leap.se>2018-12-11 13:47:29 +0100
commit3782218b86c0eaa21fb8438974c4236abeb745f1 (patch)
tree87cfff1762d5daa877dda4e2f0305ac303ce1c8b
parentf710fc59f8dd9252397e5a1b76e66ef8378f292a (diff)
add usage to readme
-rw-r--r--README.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.txt b/README.txt
index 3b8ecdc..c2f8900 100644
--- a/README.txt
+++ b/README.txt
@@ -5,3 +5,12 @@ sudo apt install geoipupdate
sudo cp /usr/share/doc/geoipupdate/examples/GeoIP.conf.default /etc/GeoIP.conf
sudo mkdir -p /usr/local/share/GeoIP
sudo geoipupdate -v
+
+Usage
+-----------------------
+
+-geodb <path>
+ path to the GeoLite2-City database (default is "/var/lib/GeoIP/GeoLite2-City.mmdb")
+-port <port>
+ port where the service listens on (default is 9001)
+