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