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.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
administration:starting_and_stopping_solr [2020/06/04 17:36] – [Linux Method] demiankatz | administration:starting_and_stopping_solr [2023/03/08 18:45] – demiankatz | ||
---|---|---|---|
Line 50: | Line 50: | ||
< | < | ||
+ | [Unit] | ||
Description=VuFind Starter | Description=VuFind Starter | ||
After=network.target | After=network.target | ||
Line 167: | Line 168: | ||
:!: If you need to run VuFind with non-default settings, you may wish to add some lines to export environment variables in this script, or else source a script containing all of your environment settings prior to running " | :!: If you need to run VuFind with non-default settings, you may wish to add some lines to export environment variables in this script, or else source a script containing all of your environment settings prior to running " | ||
- | :!: Newer versions of Solr do not like to be run by the root user; you may need to either add " | + | :!: Newer versions of Solr do not like to be run by the root user; you may need to either add " |
< | < | ||
Line 222: | Line 223: | ||
To automate Solr with systemd: | To automate Solr with systemd: | ||
- | * create the user " | + | * [[administration: |
* add permission for the solr directory to this user: | * add permission for the solr directory to this user: | ||
Line 232: | Line 233: | ||
< | < | ||
+ | [Unit] | ||
Description=VuFind Starter | Description=VuFind Starter | ||
- | After=network.target | + | After=network.target |
[Service] | [Service] | ||
Line 249: | Line 251: | ||
</ | </ | ||
- | In VuFind | + | In VuFind |
< | < | ||
- | After=network.target | + | [Unit] |
+ | After=network.target | ||
[Service] | [Service] | ||
Type=forking | Type=forking | ||
ExecStart=/ | ExecStart=/ | ||
- | PIDFile=/ | + | PIDFile=/ |
User=solr | User=solr | ||
ExecStop=/ | ExecStop=/ | ||
Line 294: | Line 297: | ||
If you simply stop the Solr server, users attempting to access your VuFind site will encounter error messages. | If you simply stop the Solr server, users attempting to access your VuFind site will encounter error messages. | ||
---- struct data ---- | ---- struct data ---- | ||
+ | properties.Page Owner : | ||
---- | ---- | ||
administration/starting_and_stopping_solr.txt · Last modified: 2023/10/24 13:47 by demiankatz