This commit is contained in:
Disassembler 2017-12-13 13:44:20 +01:00
parent 1959137a0b
commit 86f9b8cae1

View File

@ -1,11 +1,11 @@
[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
[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