mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
13 lines
267 B
SYSTEMD
13 lines
267 B
SYSTEMD
|
[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
|
||
|
Restart=always
|
||
|
RestartSec=5
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|