12 lines
285 B
SYSTEMD
12 lines
285 B
SYSTEMD
|
[Unit]
|
||
|
Description=OpenMapKit Solr container
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
ExecStart=/usr/bin/docker run --rm --tmpfs /tmp --name solr -v /srv/solr/server/solr:/srv/solr/server/solr solr
|
||
|
ExecStop=/usr/bin/docker stop solr
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|