14 lines
372 B
Django/Jinja
14 lines
372 B
Django/Jinja
[Unit]
|
|
Description=Apache SOLR
|
|
After=syslog.target network.target remote-fs.target nss-lookup.target
|
|
|
|
[Service]
|
|
PIDFile={{ solr_install_path }}/bin/solr-{{ solr_port }}.pid
|
|
ExecStart={{ solr_install_path }}/bin/solr -e cloud -noprompt
|
|
User=solr
|
|
ExecReload=/bin/kill -s HUP $MAINPID
|
|
ExecStop=/bin/kill -s QUIT $MAINPID
|
|
PrivateTmp=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|