Spotter-VM/openmapkit/lib/systemd/system/openmapkit.service

12 lines
361 B
SYSTEMD
Raw Normal View History

[Unit]
2017-12-12 13:29:33 +01:00
Description=OpenMapKit Docker container
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/docker run --rm --name openmapkit -p 127.0.0.1:9007:8007 -v /srv/openmapkit/settings.js:/srv/openmapkit/settings.js -v /srv/openmapkit/data:/srv/openmapkit/data openmapkit
ExecStop=/usr/bin/docker kill openmapkit
[Install]
WantedBy=multi-user.target