2017-12-12 05:48:36 +01:00
|
|
|
[Unit]
|
2017-12-12 13:29:33 +01:00
|
|
|
Description=OpenMapKit Docker container
|
2017-12-12 05:48:36 +01:00
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
2017-12-16 20:53:00 +01:00
|
|
|
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
|
2017-12-12 16:29:29 +01:00
|
|
|
ExecStop=/usr/bin/docker kill openmapkit
|
2017-12-12 05:48:36 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|