15 lines
372 B
Text
15 lines
372 B
Text
|
[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
|