1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-27 02:09:06 +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