diff --git a/solr/lib/systemd/system/solr.service b/solr/lib/systemd/system/solr.service index 66a0f9d..fca917b 100644 --- a/solr/lib/systemd/system/solr.service +++ b/solr/lib/systemd/system/solr.service @@ -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