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

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 kill openmapkit
[Install]
WantedBy=multi-user.target