Spotter-VM/ckan/lib/systemd/system/solr.service

12 lines
215 B
Desktop File

[Unit]
Description=Apache Solr
After=network.target
[Service]
ExecStart=/opt/solr/bin/solr start -f -p 8983 -s /var/lib/solr
ExecStop=/opt/solr/bin/solr stop -p 8983
User=solr
[Install]
WantedBy=multi-user.target