1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/freegeoip/freegeoip.service
2020-01-09 17:22:20 +08:00

13 lines
298 B
Desktop File

[Unit]
Description=IP Geolocation Web Server
After=network-online.target
[Service]
WorkingDirectory=/opt/freegeoip
ExecStart=/opt/freegeoip/freegeoip -public public -http :8080 -internal-server :8888 -db data/GeoLite2-City.mmdb.gz
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target