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

12 lines
323 B
SYSTEMD
Raw Normal View History

[Unit]
2017-12-12 13:29:33 +01:00
Description=OpenMapKit Docker container
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 kill openmapkit
[Install]
WantedBy=multi-user.target