Kill OpenMapKit container instead of stopping (which fails anyway)

This commit is contained in:
Disassembler 2017-12-12 16:29:29 +01:00
parent 145b73c3ce
commit 8e51e09d58

View File

@ -5,7 +5,7 @@ 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
ExecStop=/usr/bin/docker kill openmapkit
[Install]
WantedBy=multi-user.target