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

12 lines
285 B
SYSTEMD
Raw Normal View History

2017-12-13 10:18:38 +01:00
[Unit]
Description=OpenMapKit Solr container
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/docker run --rm --tmpfs /tmp --name solr -v /srv/solr/server/solr:/srv/solr/server/solr solr
ExecStop=/usr/bin/docker stop solr
[Install]
WantedBy=multi-user.target