Spotter-VM/solr/lib/systemd/system/solr.service
2017-12-15 16:39:40 +01:00

12 lines
263 B
Desktop File

[Unit]
Description=Solr Docker container
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/docker run --rm --tmpfs /tmp --name solr -v /srv/solr/data:/srv/solr/server/solr solr
ExecStop=/usr/bin/docker stop solr
[Install]
WantedBy=multi-user.target