<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.ext-9.eprints-hosting.org/w/index.php?action=history&amp;feed=atom&amp;title=Perl_lib%2FEPrints%2FSystemSettings.pm</id>
	<title>Perl lib/EPrints/SystemSettings.pm - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ext-9.eprints-hosting.org/w/index.php?action=history&amp;feed=atom&amp;title=Perl_lib%2FEPrints%2FSystemSettings.pm"/>
	<link rel="alternate" type="text/html" href="https://wiki.ext-9.eprints-hosting.org/w/index.php?title=Perl_lib/EPrints/SystemSettings.pm&amp;action=history"/>
	<updated>2026-05-11T05:19:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://wiki.ext-9.eprints-hosting.org/w/index.php?title=Perl_lib/EPrints/SystemSettings.pm&amp;diff=15837&amp;oldid=prev</id>
		<title>Drn@ecs.soton.ac.uk at 12:22, 10 April 2023</title>
		<link rel="alternate" type="text/html" href="https://wiki.ext-9.eprints-hosting.org/w/index.php?title=Perl_lib/EPrints/SystemSettings.pm&amp;diff=15837&amp;oldid=prev"/>
		<updated>2023-04-10T12:22:44Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:22, 10 April 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l20&quot;&gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;interval&amp;lt;/code&amp;gt; - How many seconds the indexer should wait whilst idle before checking if there are any new [[EPrints Glossary#Indexer_task|tasks]] it can run from the [[EPrints Glossary#Event_queue|event queue]].  By default this is &amp;lt;tt&amp;gt;30&amp;lt;/tt&amp;gt; seconds.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;interval&amp;lt;/code&amp;gt; - How many seconds the indexer should wait whilst idle before checking if there are any new [[EPrints Glossary#Indexer_task|tasks]] it can run from the [[EPrints Glossary#Event_queue|event queue]].  By default this is &amp;lt;tt&amp;gt;30&amp;lt;/tt&amp;gt; seconds.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;respawn&amp;lt;/code&amp;gt; - How many seconds before the indexer should be respawned (in case it has got stuck) and rotate its log file.  By default this is &amp;lt;tt&amp;gt;86400&amp;lt;/tt&amp;gt; seconds or one day.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;respawn&amp;lt;/code&amp;gt; - How many seconds before the indexer should be respawned (in case it has got stuck) and rotate its log file.  By default this is &amp;lt;tt&amp;gt;86400&amp;lt;/tt&amp;gt; seconds or one day.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;timeout&amp;lt;/code&amp;gt; - How many seconds before an individual [[EPrints Glossary#Indexer task]] is allowed to run before it times out and gets marked as &amp;lt;tt&amp;gt;failed&amp;lt;/tt&amp;gt;.  By default this is &amp;lt;tt&amp;gt;600&amp;lt;/tt&amp;gt; seconds or ten minutes.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;timeout&amp;lt;/code&amp;gt; - How many seconds before an individual [[EPrints Glossary#Indexer &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;task|indexer &lt;/ins&gt;task]] is allowed to run before it times out and gets marked as &amp;lt;tt&amp;gt;failed&amp;lt;/tt&amp;gt;.  By default this is &amp;lt;tt&amp;gt;600&amp;lt;/tt&amp;gt; seconds or ten minutes.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;interrupt&amp;lt;/code&amp;gt; - Whether the indexer should be interrupted.  This effectively stops the indexer from being run.  Bu default this is &amp;lt;tt&amp;gt;0&amp;lt;/tt&amp;gt;, as you probably want the indexer to be able to run.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;interrupt&amp;lt;/code&amp;gt; - Whether the indexer should be interrupted.  This effectively stops the indexer from being run.  Bu default this is &amp;lt;tt&amp;gt;0&amp;lt;/tt&amp;gt;, as you probably want the indexer to be able to run.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This file also contains some code to managed the loading of [[EPrints Glossary#Inc file|inc files]] saving the need to reconfigure the &amp;lt;code&amp;gt;flavours&amp;lt;/code&amp;gt; section of  &amp;lt;code&amp;gt;$EPrints::SystemSettings::conf&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This file also contains some code to managed the loading of [[EPrints Glossary#Inc file|inc files]] saving the need to reconfigure the &amp;lt;code&amp;gt;flavours&amp;lt;/code&amp;gt; section of  &amp;lt;code&amp;gt;$EPrints::SystemSettings::conf&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Drn@ecs.soton.ac.uk</name></author>
	</entry>
	<entry>
		<id>https://wiki.ext-9.eprints-hosting.org/w/index.php?title=Perl_lib/EPrints/SystemSettings.pm&amp;diff=15836&amp;oldid=prev</id>
		<title>Drn@ecs.soton.ac.uk: Added SystemSettings.pm</title>
		<link rel="alternate" type="text/html" href="https://wiki.ext-9.eprints-hosting.org/w/index.php?title=Perl_lib/EPrints/SystemSettings.pm&amp;diff=15836&amp;oldid=prev"/>
		<updated>2023-04-10T12:22:08Z</updated>

		<summary type="html">&lt;p&gt;Added SystemSettings.pm&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;EPrints&amp;#039; system settings page can be found under &amp;#039;&amp;#039;[[perl_lib/EPrints/]]&amp;#039;&amp;#039; and contains global settings for the EPrints repository.  This field contains a data structure called &amp;lt;code&amp;gt;$EPrints::SystemSettings::conf&amp;lt;/code&amp;gt; that stores various global configuration.  Including:&lt;br /&gt;
; &amp;lt;code&amp;gt;version&amp;lt;/code&amp;gt; : The human-readable version of EPrints, (e.g. &amp;lt;tt&amp;gt;EPrints 3.4.4&amp;lt;/tt&amp;gt;).&lt;br /&gt;
; &amp;lt;code&amp;gt;version_id&amp;lt;/code&amp;gt; : The machine-readable version of EPrints, (e.g. &amp;lt;tt&amp;gt;eprints-3.4.4&amp;lt;/tt&amp;gt;&lt;br /&gt;
; &amp;lt;code&amp;gt;base_path&amp;lt;/code&amp;gt; : The base path on the filesystem where EPrints is installed (e.g. &amp;lt;tt&amp;gt;/opt/eprints3&amp;lt;/tt&amp;gt;).&lt;br /&gt;
; &amp;lt;code&amp;gt;show_ids_in_log&amp;lt;/code&amp;gt; : Whether &amp;lt;code&amp;gt;EPrints::Repository-&amp;gt;log&amp;lt;/code&amp;gt; calls should include the archive ID.  This is useful if your repository is running muliple archives.&lt;br /&gt;
; &amp;lt;code&amp;gt;group&amp;lt;/code&amp;gt; : New files/directories created by EPrints should have their (Unix) group set to this. (e.g. &amp;lt;tt&amp;gt;eprints&amp;lt;/tt&amp;gt;).&lt;br /&gt;
; &amp;lt;code&amp;gt;version_history&amp;lt;/code&amp;gt; : An array of machine-readable versions of EPrints that preceded this version. (Not used in core codebase).&lt;br /&gt;
; &amp;lt;code&amp;gt;smtp_server&amp;lt;/code&amp;gt; : SMTP server to use to send out emails from EPrints. Typically it is best to leave this as &amp;lt;tt&amp;gt;127.0.0.1&amp;lt;/tt&amp;gt; and configure Postfix or Sendmail applications on your server to relay email to a real SMTP server.&lt;br /&gt;
; &amp;lt;code&amp;gt;user&amp;lt;/code&amp;gt; : New files/directories created by EPrints should have their (Unix) user set to this. (e.g. &amp;lt;tt&amp;gt;eprints&amp;lt;/tt&amp;gt;).&lt;br /&gt;
; &amp;lt;code&amp;gt;file_perms&amp;lt;/code&amp;gt; : New files created by EPrints should have their (Unix) file permissions set to this. (E.g. &amp;lt;tt&amp;gt;0664&amp;lt;/tt&amp;gt; Read/write for user and group, read-only to others).&lt;br /&gt;
; &amp;lt;code&amp;gt;invocation&amp;lt;/code&amp;gt;: A Perl hash of external applications and how they should be invoked.  This is typically empty as invocations should be defined in lib/syscfg.d/[[invocations.pl]].&lt;br /&gt;
; &amp;lt;code&amp;gt;invocation&amp;lt;/code&amp;gt;: A Perl hash of external applications and oaths to their executables.  This typically only contains the Perl executable as execitable paths should be defined in lib/syscfg.d/[[executables.pl]].&lt;br /&gt;
; &amp;lt;code&amp;gt;dir_perms&amp;lt;/code&amp;gt; : New directories created by EPrints should have their (Unix) file permissions set to this. (E.g. &amp;lt;tt&amp;gt;02775&amp;lt;/tt&amp;gt; Read, write and execute for user and group, read and execute to others. The SetGID bit is set so files/directories created in this directory will be set with the same group as the directory.  EPrints will do this any but useful if external processes are liable to create new files).&lt;br /&gt;
; &amp;lt;code&amp;gt;flavours&amp;lt;/code&amp;gt; : A data structure that specifies [[EPrints Glossary#Flavour|flavours]] and the [[EPrints Glossary#Ingredient|ingredients]] or other paths (e.g. &amp;lt;tt&amp;gt;[EPrints Glossary#Site_lib|site_lib]]&amp;lt;/tt&amp;gt;) that shoud be included within this flavour.  Typically, this defines just the &amp;lt;code&amp;gt;[[EPrints Glossary#Zero_flavour|zero]]&amp;lt;/code&amp;gt; flavour as this configuration can be defined in the [[EPrints_Glossary#Inc_file|inc]] within the flavour&amp;#039;s directory.&lt;br /&gt;
; &amp;lt;code&amp;gt;perl_module_isolation&amp;lt;/code&amp;gt; : Should Perl modules be isolated between different archives within the repository?&lt;br /&gt;
; &amp;lt;code&amp;gt;indexer_daemon&amp;lt;/code&amp;gt; : Configuration settings for EPrints&amp;#039; [[EPrints Glossary#Indexer|indexer]].  This includes &lt;br /&gt;
* &amp;lt;code&amp;gt;loglevel&amp;lt;/code&amp;gt; - What level of log messages should be captured. By default this is &amp;lt;tt&amp;gt;1&amp;lt;/tt&amp;gt;, which prints all messages to STDERR.&lt;br /&gt;
* &amp;lt;code&amp;gt;rollcount&amp;lt;/code&amp;gt; - How many old &amp;lt;tt&amp;gt;indexer.log.N&amp;lt;/tt&amp;gt; files to keep before deleting them.  By default this (N) is &amp;lt;tt&amp;gt;5&amp;lt;/tt&amp;gt;.&lt;br /&gt;
* &amp;lt;code&amp;gt;maxwait&amp;lt;/code&amp;gt; - How many seconds to wait before concluding indexer is not running.  By default this is &amp;lt;tt&amp;gt;8&amp;lt;/tt&amp;gt; seconds.&lt;br /&gt;
* &amp;lt;code&amp;gt;interval&amp;lt;/code&amp;gt; - How many seconds the indexer should wait whilst idle before checking if there are any new [[EPrints Glossary#Indexer_task|tasks]] it can run from the [[EPrints Glossary#Event_queue|event queue]].  By default this is &amp;lt;tt&amp;gt;30&amp;lt;/tt&amp;gt; seconds.&lt;br /&gt;
* &amp;lt;code&amp;gt;respawn&amp;lt;/code&amp;gt; - How many seconds before the indexer should be respawned (in case it has got stuck) and rotate its log file.  By default this is &amp;lt;tt&amp;gt;86400&amp;lt;/tt&amp;gt; seconds or one day.&lt;br /&gt;
* &amp;lt;code&amp;gt;timeout&amp;lt;/code&amp;gt; - How many seconds before an individual [[EPrints Glossary#Indexer task]] is allowed to run before it times out and gets marked as &amp;lt;tt&amp;gt;failed&amp;lt;/tt&amp;gt;.  By default this is &amp;lt;tt&amp;gt;600&amp;lt;/tt&amp;gt; seconds or ten minutes.&lt;br /&gt;
* &amp;lt;code&amp;gt;interrupt&amp;lt;/code&amp;gt; - Whether the indexer should be interrupted.  This effectively stops the indexer from being run.  Bu default this is &amp;lt;tt&amp;gt;0&amp;lt;/tt&amp;gt;, as you probably want the indexer to be able to run.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file also contains some code to managed the loading of [[EPrints Glossary#Inc file|inc files]] saving the need to reconfigure the &amp;lt;code&amp;gt;flavours&amp;lt;/code&amp;gt; section of  &amp;lt;code&amp;gt;$EPrints::SystemSettings::conf&amp;lt;/code&amp;gt;.&lt;/div&gt;</summary>
		<author><name>Drn@ecs.soton.ac.uk</name></author>
	</entry>
</feed>