12 lines
242 B
Desktop File
12 lines
242 B
Desktop File
[Unit]
|
|
Description=Solr Docker container
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/usr/bin/docker run --rm --name solr -v /srv/solr/data:/var/lib/solr solr
|
|
ExecStop=/usr/bin/docker stop solr
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|