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] [Service]
Type=simple 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 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] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target