1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:36 +02:00
dockerfiles/freegeoip/freegeoip.service

13 lines
298 B
SYSTEMD
Raw Normal View History

2018-11-28 08:05:02 +02:00
[Unit]
Description=IP Geolocation Web Server
After=network-online.target
[Service]
WorkingDirectory=/opt/freegeoip
2020-01-09 11:22:20 +02:00
ExecStart=/opt/freegeoip/freegeoip -public public -http :8080 -internal-server :8888 -db data/GeoLite2-City.mmdb.gz
2018-11-28 08:05:02 +02:00
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target