Spotter-VM/openmapkit/lib/systemd/system/openmapkit.service
2017-12-15 16:39:40 +01:00

12 lines
323 B
Desktop File

[Unit]
Description=OpenMapKit Docker container
After=network.target
[Service]
Type=simple
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
[Install]
WantedBy=multi-user.target