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:init.d

Differences

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

Link to this comparison view

administration:starting_and_stopping_solr:init.d [2023/03/10 11:55] – created demiankatzadministration:starting_and_stopping_solr:init.d [2023/03/10 11:56] (current) demiankatz
Line 4: Line 4:
  
 :!: Because of the lack of ongoing support for the init.d approach, this documentation is unlikely to be updated or tested in the future. :!: Because of the lack of ongoing support for the init.d approach, this documentation is unlikely to be updated or tested in the future.
 +
 +===== Wrapper Script =====
  
 You can set up Solr to run as a daemon. To do so, create a wrapper script in /etc/init.d/vufind: You can set up Solr to run as a daemon. To do so, create a wrapper script in /etc/init.d/vufind:
Line 36: Line 38:
 chmod +x /etc/init.d/vufind chmod +x /etc/init.d/vufind
 </code> </code>
 +
 +===== Runlevel Configuration =====
  
 You will then need to add the script to your runlevel configuration (generally found under /etc/rc.d).  The exact setup varies from flavor to flavor of Linux, but a bit of online research should help, as should these tools: You will then need to add the script to your runlevel configuration (generally found under /etc/rc.d).  The exact setup varies from flavor to flavor of Linux, but a bit of online research should help, as should these tools:
Line 44: Line 48:
 If this doesn't seem to work, be sure that VUFIND_HOME and JAVA_HOME are set in the profile of the user running the startup script. If this doesn't seem to work, be sure that VUFIND_HOME and JAVA_HOME are set in the profile of the user running the startup script.
  
-=== Interacting with Solr After Automation ===+===== Interacting with Solr After Automation =====
  
 On some platforms, the "service" command is available to make use of startup scripts.  In this case, you will be able to use it for Solr after completing configuration: On some platforms, the "service" command is available to make use of startup scripts.  In this case, you will be able to use it for Solr after completing configuration:
administration/starting_and_stopping_solr/init.d.1678449315.txt.gz · Last modified: 2023/03/10 11:55 by demiankatz