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

12 lines
338 B
Desktop File

[Unit]
Description=OpenMapKit Docker container
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/docker run --rm --name openmapkit -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