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-12 13:29:33 +01:00
|
|
|
ExecStart=/usr/bin/docker run --rm --tmpfs /tmp --name openmapkit -v /srv/omk/settings.js:/srv/omk/settings.js -v /srv/omk/data:/srv/omk/data openmapkit
|
|
|
|
ExecStop=/usr/bin/docker stop openmapkit
|
2017-12-12 05:48:36 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|