2017-12-13 13:44:20 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Solr Docker container
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
2017-12-13 15:58:29 +01:00
|
|
|
ExecStart=/usr/bin/docker run --rm --tmpfs /tmp --name solr -v /srv/solr/data:/var/lib/solr solr
|
2017-12-13 13:44:20 +01:00
|
|
|
ExecStop=/usr/bin/docker stop solr
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|