About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
administration:starting_and_stopping_solr

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
administration:starting_and_stopping_solr [2020/06/04 17:36] – [Linux Method] demiankatzadministration:starting_and_stopping_solr [2020/08/18 13:08] – [Linux (systemd) Method] demiankatz
Line 232: Line 232:
  
 <code> <code>
 +[Unit]
 Description=VuFind Starter Description=VuFind Starter
 After=network.target httpd.service mariadb.service After=network.target httpd.service mariadb.service
Line 249: Line 250:
 </code> </code>
  
-In VuFind 3.0 and later, the contents of the file should be as follows. It will work with the official VuFind 3 deb package (tested on Ubuntu 16.04).+In VuFind 7.0 and later, the contents of the file should be as follows. It will work with the official VuFind 3 deb package (tested on Ubuntu 16.04). For compatibility with VuFind 3.0 through 6.0, simply change "solr-8983.pid" to "solr-8080.pid" to reflect a different default port number.
  
 <code> <code>
 +[Unit]
 After=network.target httpd.service mariadb.service After=network.target httpd.service mariadb.service
  
Line 257: Line 259:
 Type=forking Type=forking
 ExecStart=/bin/sh -l -c '/usr/local/vufind/solr.sh start' -x ExecStart=/bin/sh -l -c '/usr/local/vufind/solr.sh start' -x
-PIDFile=/usr/local/vufind/solr/vendor/bin/solr-8080.pid+PIDFile=/usr/local/vufind/solr/vendor/bin/solr-8983.pid
 User=solr User=solr
 ExecStop=/bin/sh -l -c "/usr/local/vufind/solr.sh stop" -x ExecStop=/bin/sh -l -c "/usr/local/vufind/solr.sh stop" -x
administration/starting_and_stopping_solr.txt · Last modified: 2023/10/24 13:47 by demiankatz