+++ /dev/null
-<?xml version='1.0'?>
-
-<!--
-Example opensrf config file for OpenILS
--->
-
-<opensrf version='0.0.2'>
-
- <default>
-
- <dirs>
- <log>/openils/var/log</log> <!-- unix::server log files -->
- <sock>/openils/var/sock</sock> <!-- unix::server sock files -->
- <pid>/openils/var/pid</pid>
- <xsl>/openils/var/xsl</xsl>
- <script>/openils/var</script>
- <script_lib>/openils/var</script_lib>
- </dirs>
-
- <IDL>/openils/conf/fm_IDL.xml</IDL> <!-- top level IDL file -->
- <server_type>prefork</server_type> <!-- net::server type -->
- <ils_events>/openils/var/data/ils_events.xml</ils_events> <!-- ILS events description file -->
-
- <email_notify>
- <!-- global email notification settings -->
- <template>/openils/var/data/hold_notification_template.example</template>
- <smtp_server>localhost</smtp_server>
-
- <!-- in most cases, this is overridden by location
- specific config settings. this is just the default -->
- <sender_address>evergreen@localhost</sender_address>
- </email_notify>
-
-
- <reporter>
- <!--
- Settings for the reporter daemon process
- -->
- <setup>
- <base_uri>https://localhost/reporter/</base_uri>
- <database>
- <driver>Pg</driver>
- <host>localhost</host>
- <port>5432</port>
- <name>evergreen</name>
- <user>postgres</user>
- <password>postgres</password>
- </database>
- <files>
- <!-- successful report outputs go here -->
- <output_base>/openils/var/reporter/output</output_base>
- <success_template>/openils/var/data/report-success</success_template>
- <fail_template>/openils/var/data/report-fail</fail_template>
- </files>
- </setup>
- </reporter>
-
-
-
- <xml-rpc>
- <!-- XML-RPC gateway. Do NOT publish unprotected services here -->
- <allowed_services>
- <!-- list of published services -->
- <service>opensrf.math</service>
- <service>opensrf.dbmath</service>
- <service>open-ils.cat</service>
- <service>open-ils.search</service>
- <service>open-ils.circ</service>
- <service>open-ils.actor</service>
- <service>open-ils.auth</service>
- <service>open-ils.collections</service>
- </allowed_services>
- </xml-rpc>
-
-
- <z3950>
- <default>oclc</default>
- <services>
- <oclc>
- <!-- Z3950 settings for OCLC. Note that OCLC requires username/password -->
- <host>zcat.oclc.org</host>
- <port>210</port>
- <db>OLUCWorldCat</db>
- <attrs>
- <!--
- These are directly from the Bib-1 Attribute Set
- http://www.loc.gov/z3950/agency/defns/bib1.html
- <code> is the "use attribute", <format> is the "structure attribute"
- This just puts some friendly names on the data.
- Just copy this chunk to the <attrs> section of <loc> and
- uncomment the chunk to use the LoC Z server instead
- -->
- <tcn><code>12</code><format>1</format></tcn>
- <isbn><code>7</code><format>6</format></isbn>
- <lccn><code>9</code><format>1</format></lccn>
- <author><code>1003</code><format>6</format></author>
- <title><code>4</code><format>6</format></title>
- <issn><code>8</code><format>1</format></issn>
- <publisher><code>1018</code><format>6</format></publisher>
- <pubdate><code>31</code><format>1</format></pubdate>
- <item_type><code>1001</code><format>1</format></item_type>
- </attrs>
- </oclc>
-
- <!--
- <loc>
- <name>loc</name>
- <host>z3950.loc.gov</host>
- <port>7090</port>
- <db>Voyager</db>
- <attrs>
- </attrs>
- </loc>
- -->
-
- </services>
- </z3950>
-
-
- <added_content>
- <!-- configure an added content plugin -->
- <module>OpenILS::WWW::AddedContent::Syndetic</module>
- <userid>MY_USER_ID</userid>
- <base_url>http://syndetics.com/index.aspx</base_url>
- </added_content>
-
-
-
- <!-- no apps are enabled globally by default -->
- <activeapps/>
-
- <cache>
- <!-- memcache servers -->
- <global>
- <servers>
- <server>localhost:11211</server>
- </servers>
- <max_cache_time>86400</max_cache_time>
- </global>
- </cache>
-
- <apps>
- <!-- Authentication server -->
- <open-ils.auth>
-
- <!-- how long to wait between stateful requests before the child process re-joins the pool -->
- <keepalive>5</keepalive>
-
- <!-- true if this service support stateless requests -->
- <stateless>1</stateless>
-
- <!-- implementation language -->
- <language>c</language>
-
- <!-- library to plugin -->
- <implementation>oils_auth.so</implementation>
-
- <!-- maximum required opensrf requests within a stateful connection -->
- <max_requests>93</max_requests>
-
- <unix_config>
-
- <!-- Note that not all implementations use all settings -->
-
- <!-- unix sock file -->
- <unix_sock>open-ils.auth_unix.sock</unix_sock>
-
- <!-- PID files -->
- <unix_pid>open-ils.auth_unix.pid</unix_pid>
-
- <!-- maximum number of top level requests coming to
- this child before the child is recycled -->
- <max_requests>1000</max_requests>
-
- <!-- Perl net::server log -->
- <unix_log>open-ils.auth_unix.log</unix_log>
- <!-- min children to fork -->
- <min_children>1</min_children>
- <!-- max possible children to fork -->
- <max_children>15</max_children>
- <!-- min idle children -->
- <min_spare_children>1</min_spare_children>
- <!-- max idle children -->
- <max_spare_children>5</max_spare_children>
- </unix_config>
-
- <app_settings>
- <!-- defined app-specific settings here -->
- <default_timeout>
- <!-- default login timeouts based on login type -->
- <opac>420</opac>
- <staff>7200</staff>
- <temp>300</temp>
- </default_timeout>
- </app_settings>
- </open-ils.auth>
-
-
- <!-- Generic search server -->
- <open-ils.search>
- <keepalive>5</keepalive>
- <stateless>1</stateless>
- <language>perl</language>
- <implementation>OpenILS::Application::Search</implementation>
- <max_requests>93</max_requests>
- <unix_config>
- <unix_sock>open-ils.search_unix.sock</unix_sock>
- <unix_pid>open-ils.search_unix.pid</unix_pid>
- <max_requests>1000</max_requests>
- <unix_log>open-ils.search_unix.log</unix_log>
- <min_children>1</min_children>
- <max_children>15</max_children>
- <min_spare_children>1</min_spare_children>
- <max_spare_children>5</max_spare_children>
- </unix_config>
- <app_settings>
- <marc_html_xsl>oilsMARC21slim2HTML.xsl</marc_html_xsl>
- <!-- zip code database file -->
- <!--<zips_file>/openils/var/data/zips.txt</zips_file>-->
- </app_settings>
- </open-ils.search>
-
- <!-- server for accessing user info -->
- <open-ils.actor>
- <keepalive>5</keepalive>
- <stateless>1</stateless>
- <language>perl</language>
- <implementation>OpenILS::Application::Actor</implementation>
- <max_requests>93</max_requests>
- <unix_config>
- <unix_sock>open-ils.actor_unix.sock</unix_sock>
- <unix_pid>open-ils.actor_unix.pid</unix_pid>
- <max_requests>1000</max_requests>
- <unix_log>open-ils.actor_unix.log</unix_log>
- <min_children>1</min_children>
- <max_children>15</max_children>
- <min_spare_children>1</min_spare_children>
- <max_spare_children>5</max_spare_children>
- </unix_config>
- </open-ils.actor>
-
-
- <open-ils.cat>
- <keepalive>5</keepalive>
- <stateless>1</stateless>
- <language>perl</language>
- <implementation>OpenILS::Application::Cat</implementation>
- <max_requests>199</max_requests>
- <unix_config>
- <unix_sock>open-ils.cat_unix.sock</unix_sock>
- <unix_pid>open-ils.cat_unix.pid</unix_pid>
- <max_requests>1000</max_requests>
- <unix_log>open-ils.cat_unix.log</unix_log>
- <min_children>1</min_children>
- <max_children>15</max_children>
- <min_spare_children>1</min_spare_children>
- <max_spare_children>5</max_spare_children>
- </unix_config>
- <app_settings>
- <marctemplates>
- <K_book>/openils/var/templates/marc/k_book.xml</K_book>
- </marctemplates>
- </app_settings>
- </open-ils.cat>
-
- <open-ils.supercat>
- <keepalive>5</keepalive>
- <stateless>1</stateless>
- <language>perl</language>
- <implementation>OpenILS::Application::SuperCat</implementation>
- <max_requests>199</max_requests>
- <unix_config>
- <unix_sock>open-ils.supercat_unix.sock</unix_sock>
- <unix_pid>open-ils.supercat_unix.pid</unix_pid>
- <max_requests>1000</max_requests>
- <unix_log>open-ils.supercat_unix.log</unix_log>
- <min_children>1</min_children>
- <max_children>15</max_children>
- <min_spare_children>1</min_spare_children>
- <max_spare_children>5</max_spare_children>
- </unix_config>
- </open-ils.supercat>
-
-
- <opensrf.math>
- <keepalive>3</keepalive>
- <stateless>1</stateless>
- <language>c</language>
- <implementation>osrf_math.so</implementation>
- <max_requests>97</max_requests>
- <unix_config>
- <unix_sock>opensrf.math_unix.sock</unix_sock>
- <unix_pid>opensrf.math_unix.pid</unix_pid>
- <max_requests>1000</max_requests>
- <unix_log>opensrf.math_unix.log</unix_log>
- <min_children>1</min_children>
- <max_children>15</max_children>
- <min_spare_children>1</min_spare_children>
- <max_spare_children>5</max_spare_children>
- </unix_config>
- </opensrf.math>
-
- <opensrf.dbmath>
- <keepalive>3</keepalive>
- <stateless>1</stateless>
- <language>c</language>
- <implementation>osrf_dbmath.so</implementation>
- <max_requests>99</max_requests>
- <unix_config>
- <max_requests>1000</max_requests>
- <unix_log>opensrf.dbmath_unix.log</unix_log>
- <unix_sock>opensrf.dbmath_unix.sock</unix_sock>
- <unix_pid>opensrf.dbmath_unix.pid</unix_pid>
- <min_children>1</min_children>
- <max_children>15</max_children>
- <min_spare_children>1</min_spare_children>
- <max_spare_children>5</max_spare_children>
- </unix_config>
- </opensrf.dbmath>
-
- <open-ils.penalty>
- <keepalive>3</keepalive>
- <stateless>1</stateless>
- <language>perl</language>
- <implementation>OpenILS::Application::Penalty</implementation>
- <max_requests>99</max_requests>
- <unix_config>
- <max_requests>1000</max_requests>
- <unix_log>open-ils.penalty_unix.log</unix_log>
- <unix_sock>open-ils.penalty_unix.sock</unix_sock>
- <unix_pid>open-ils.penalty_unix.pid</unix_pid>
- <min_children>1</min_children>
- <max_children>15</max_children>
- <min_spare_children>1</min_spare_children>
- <max_spare_children>5</max_spare_children>
- </unix_config>
- <app_settings>
- <patron_penalty>penalty/patron_penalty.js</patron_penalty>
- <script_path>/openils/var</script_path>
- <script_path>/openils/var/catalog</script_path>
- </app_settings>
- </open-ils.penalty>
-
- <open-ils.circ>
- <keepalive>3</keepalive>
- <stateless>1</stateless>
- <language>perl</language>
- <implementation>OpenILS::Application::Circ</implementation>
- <max_requests>99</max_requests>
- <unix_config>
- <max_requests>1000</max_requests>
- <unix_log>open-ils.circ_unix.log</unix_log>
- <unix_sock>open-ils.circ_unix.sock</unix_sock>
- <unix_pid>open-ils.circ_unix.pid</unix_pid>
- <min_children>1</min_children>
- <max_children>15</max_children>
- <min_spare_children>1</min_spare_children>
- <max_spare_children>5</max_spare_children>
- </unix_config>
- <app_settings>
- <notify_hold>
- <email>false</email> <!-- set to true for hold notice emails -->
- </notify_hold>
-
- <!-- circulation policy scripts -->
- <script_path>/openils/var</script_path>
- <script_path>/openils/var/catalog</script_path>
- <scripts>
- <circ_permit_patron>circ/circ_permit_patron.js</circ_permit_patron>
- <circ_permit_copy>circ/circ_permit_copy.js</circ_permit_copy>
- <circ_duration>circ/circ_duration.js</circ_duration>
- <circ_recurring_fines>circ/circ_recurring_fines.js</circ_recurring_fines>
- <circ_max_fines>circ/circ_max_fines.js</circ_max_fines>
- <circ_permit_renew>circ/circ_permit_renew.js</circ_permit_renew>
- <circ_permit_hold>circ/circ_permit_hold.js</circ_permit_hold>
- </scripts>
-
- <circ_modifiers>
- <mod>art</mod>
- <mod>atlas</mod>
- <mod>audiobook</mod>
- <mod>av</mod>
- <mod>new-av</mod>
- <mod>bestseller</mod>
- <mod>bestsellernh</mod>
- <mod>book</mod>
- <mod>cd</mod>
- <mod>dvd</mod>
- <mod>dvd-long</mod>
- <mod>e-book</mod>
- <mod>equipment</mod>
- <mod>filmstrip</mod>
- <mod>kit</mod>
- <mod>magazine</mod>
- <mod>map</mod>
- <mod>microform</mod>
- <mod>music</mod>
- <mod>record</mod>
- <mod>software</mod>
- <mod>softwrlong</mod>
- <mod>equip-long</mod>
- <mod>talking book</mod>
- <mod>toy</mod>
- <mod>video</mod>
- <mod>video-long</mod>
- </circ_modifiers>
-
- <billing_types>
- <type>Miscellaneous</type>
- <type>Overdue materials</type>
- <type>Fee for placing a hold</type>
- <type>Fee for checking out a book</type>
- <type>Fee for library card</type>
- <type>Miscellaneous charges</type>
- <type>Lost materials</type>
- <type>Damaged material</type>
- <type>Overdue Reserves charge</type>
- <type>Recall overdue</type>
- <type>Fee for processing lost library materials</type>
- <type>Fee for sending patron bills to collection agency</type>
- <type>Fee for interlibrary loan</type>
- <type>Fee for copies</type>
- <type>Money advanced to pay for telephone use</type>
- <type>Deposit fee</type>
- <type>Fee for disk</type>
- <type>Fee for faxing</type>
- <type>Fee for laminating</type>
- <type>Fee for room cleaning</type>
- <type>Deposit returned; fee refund</type>
- <type>Sale items</type>
- <type>Fee for lost card</type>
- <type>Long overdue items</type>
- <type>Lost/Replacement Cassette</type>
- <type>Returned Check</type>
- </billing_types>
- </app_settings>
- </open-ils.circ>
-
- <open-ils.ingest>
- <keepalive>3</keepalive>
- <stateless>1</stateless>
- <implementation>OpenILS::Application::Ingest</implementation>
- <language>perl</language>
- <max_requests>1000000</max_requests>
- <unix_config>
- <max_requests>1000000</max_requests>
- <unix_log>open-ils.ingest-unix.log</unix_log>
- <unix_sock>open-ils.ingest-unix.sock</unix_sock>
- <unix_pid>open-ils.ingest-unix.pid</unix_pid>
- <min_children>5</min_children>
- <max_children>20</max_children>
- <min_spare_children>2</min_spare_children>
- <max_spare_children>5</max_spare_children>
- </unix_config>
- <app_settings>
- <script_path>/openils/var/catalog/</script_path>
- <script_path>/openils/var/web/opac/common/js/</script_path>
- <scripts>
- <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
- <biblio_descriptor>biblio_descriptor.js</biblio_descriptor>
- </scripts>
- </app_settings>
- </open-ils.ingest>
-
- <open-ils.storage>
- <keepalive>10</keepalive>
- <stateless>1</stateless>
- <language>perl</language>
- <implementation>OpenILS::Application::Storage</implementation>
- <unix_config>
- <max_requests>1000</max_requests>
- <unix_log>storage_unix.log</unix_log>
- <unix_sock>storage_unix.sock</unix_sock>
- <unix_pid>storage_unix.pid</unix_pid>
- <max_requests>400</max_requests>
- <min_children>1</min_children>
- <max_children>10</max_children>
- <min_spare_children>1</min_spare_children>
- <max_spare_children>5</max_spare_children>
- </unix_config>
- <app_settings>
- <script_path>/openils/var/catalog/</script_path>
- <scripts>
- <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
- </scripts>
- <databases>
- <driver>Pg</driver>
- <database>
- <type>master</type>
- <weight>2</weight>
- <user>postgres</user>
- <host>localhost</host>
- <port>5432</port>
- <pw>postgres</pw>
- <db>evergreen</db>
- <client_encoding>UTF-8</client_encoding>
- </database>
- </databases>
- </app_settings>
- </open-ils.storage>
-
-
- <open-ils.cstore>
- <keepalive>6</keepalive>
- <stateless>1</stateless>
- <language>C</language>
- <implementation>oils_cstore.so</implementation>
- <max_requests>95</max_requests>
- <unix_config>
- <unix_log>cstore.log</unix_log>
- <unix_sock>cstore.sock</unix_sock>
- <unix_pid>cstore.pid</unix_pid>
- <max_requests>400</max_requests>
- <min_children>1</min_children>
- <max_children>15</max_children>
- <min_spare_children>1</min_spare_children>
- <max_spare_children>5</max_spare_children>
- </unix_config>
- <app_settings>
- <IDL>/openils/conf/fm_IDL.xml</IDL> <!-- deprecated with 1.1.0-->
- <driver>pgsql</driver>
- <database>
- <type>master</type>
- <weight>2</weight>
- <user>postgres</user>
- <host>localhost</host>
- <port>5432</port>
- <pw>postgres</pw>
- <db>evergreen</db>
- <client_encoding>UTF-8</client_encoding>
- </database>
- </app_settings>
- </open-ils.cstore>
-
-
-
- <opensrf.settings>
- <keepalive>1</keepalive>
- <stateless>1</stateless>
- <language>perl</language>
- <implementation>OpenSRF::Application::Settings</implementation>
- <max_requests>17</max_requests>
- <unix_config>
- <unix_sock>opensrf.settings_unix.sock</unix_sock>
- <unix_pid>opoensrf.settings_unix.pid</unix_pid>
- <max_requests>300</max_requests>
- <unix_log>opensrf.settings_unix.log</unix_log>
- <min_children>5</min_children>
- <max_children>15</max_children>
- <min_spare_children>3</min_spare_children>
- <max_spare_children>5</max_spare_children>
- </unix_config>
- </opensrf.settings>
-
- <open-ils.collections>
- <keepalive>3</keepalive>
- <stateless>1</stateless>
- <language>perl</language>
- <implementation>OpenILS::Application::Collections</implementation>
- <max_requests>17</max_requests>
- <unix_config>
- <unix_sock>opensrf.collections_unix.sock</unix_sock>
- <unix_pid>opoensrf.collections_unix.pid</unix_pid>
- <max_requests>1000</max_requests>
- <unix_log>opensrf.collections_unix.log</unix_log>
- <min_children>1</min_children>
- <max_children>10</max_children>
- <min_spare_children>1</min_spare_children>
- <max_spare_children>5</max_spare_children>
- </unix_config>
- </open-ils.collections>
-
- <open-ils.reporter>
- <keepalive>3</keepalive>
- <stateless>1</stateless>
- <language>perl</language>
- <implementation>OpenILS::Application::Reporter</implementation>
- <max_requests>99</max_requests>
- <unix_config>
- <unix_sock>opensrf.reporter_unix.sock</unix_sock>
- <unix_pid>opoensrf.reporter_unix.pid</unix_pid>
- <max_requests>1000</max_requests>
- <unix_log>opensrf.reporter_unix.log</unix_log>
- <min_children>1</min_children>
- <max_children>10</max_children>
- <min_spare_children>1</min_spare_children>
- <max_spare_children>5</max_spare_children>
- </unix_config>
- </open-ils.reporter>
-
-
- <open-ils.reporter-store>
- <keepalive>6</keepalive>
- <stateless>1</stateless>
- <language>C</language>
- <implementation>oils_rstore.so</implementation>
- <max_requests>95</max_requests>
- <unix_config>
- <unix_log>rstore.log</unix_log>
- <unix_sock>rstore.sock</unix_sock>
- <unix_pid>rstore.pid</unix_pid>
- <max_requests>400</max_requests>
- <min_children>1</min_children>
- <max_children>10</max_children>
- <min_spare_children>1</min_spare_children>
- <max_spare_children>5</max_spare_children>
- </unix_config>
- <app_settings>
- <IDL>/openils/conf/fm_IDL.xml</IDL> <!-- deprecated with 1.1.0 -->
- <driver>pgsql</driver>
- <database>
- <type>master</type>
- <weight>2</weight>
- <user>postgres</user>
- <host>localhost</host>
- <port>5432</port>
- <pw>postgres</pw>
- <db>evergreen</db>
- <client_encoding>UTF-8</client_encoding>
- </database>
- </app_settings>
- </open-ils.reporter-store>
-
-
- </apps>
- </default>
-
- <hosts>
- <localhost> <!-- must match "hostname -f" of the hosting machine -->
- <activeapps>
- <!-- services hosted on this machine -->
- <appname>opensrf.settings</appname>
- <appname>opensrf.math</appname>
- <appname>opensrf.dbmath</appname>
- <appname>open-ils.cat</appname>
- <appname>open-ils.supercat</appname>
- <appname>open-ils.search</appname>
- <appname>open-ils.circ</appname>
- <appname>open-ils.actor</appname>
- <appname>open-ils.auth</appname>
- <appname>open-ils.storage</appname>
- <appname>open-ils.penalty</appname>
- <appname>open-ils.cstore</appname>
- <appname>open-ils.collections</appname>
- <appname>open-ils.ingest</appname>
- <appname>open-ils.reporter</appname>
- <appname>open-ils.reporter-store</appname>
- </activeapps>
- </localhost>
- </hosts>
-
-</opensrf>
--- /dev/null
+<?xml version='1.0'?>
+
+<!--
+Example opensrf config file for OpenILS
+-->
+
+<opensrf version='0.0.2'>
+
+ <default>
+
+ <dirs>
+ <log>/openils/var/log</log> <!-- unix::server log files -->
+ <sock>/openils/var/sock</sock> <!-- unix::server sock files -->
+ <pid>/openils/var/pid</pid>
+ <xsl>/openils/var/xsl</xsl>
+ <script>/openils/var</script>
+ <script_lib>/openils/var</script_lib>
+ </dirs>
+
+ <IDL>/openils/conf/fm_IDL.xml</IDL> <!-- top level IDL file -->
+ <server_type>prefork</server_type> <!-- net::server type -->
+ <ils_events>/openils/var/data/ils_events.xml</ils_events> <!-- ILS events description file -->
+
+ <email_notify>
+ <!-- global email notification settings -->
+ <template>/openils/var/data/hold_notification_template.example</template>
+ <smtp_server>localhost</smtp_server>
+
+ <!-- in most cases, this is overridden by location
+ specific config settings. this is just the default -->
+ <sender_address>evergreen@localhost</sender_address>
+ </email_notify>
+
+
+ <reporter>
+ <!--
+ Settings for the reporter daemon process
+ -->
+ <setup>
+ <base_uri>https://localhost/reporter/</base_uri>
+ <database>
+ <driver>Pg</driver>
+ <host>localhost</host>
+ <port>5432</port>
+ <name>evergreen</name>
+ <user>postgres</user>
+ <password>postgres</password>
+ </database>
+ <files>
+ <!-- successful report outputs go here -->
+ <output_base>/openils/var/reporter/output</output_base>
+ <success_template>/openils/var/data/report-success</success_template>
+ <fail_template>/openils/var/data/report-fail</fail_template>
+ </files>
+ </setup>
+ </reporter>
+
+
+
+ <xml-rpc>
+ <!-- XML-RPC gateway. Do NOT publish unprotected services here -->
+ <allowed_services>
+ <!-- list of published services -->
+ <service>opensrf.math</service>
+ <service>opensrf.dbmath</service>
+ <service>open-ils.cat</service>
+ <service>open-ils.search</service>
+ <service>open-ils.circ</service>
+ <service>open-ils.actor</service>
+ <service>open-ils.auth</service>
+ <service>open-ils.collections</service>
+ </allowed_services>
+ </xml-rpc>
+
+
+ <z3950>
+ <default>oclc</default>
+ <services>
+ <oclc>
+ <!-- Z3950 settings for OCLC. Note that OCLC requires username/password -->
+ <host>zcat.oclc.org</host>
+ <port>210</port>
+ <db>OLUCWorldCat</db>
+ <attrs>
+ <!--
+ These are directly from the Bib-1 Attribute Set
+ http://www.loc.gov/z3950/agency/defns/bib1.html
+ <code> is the "use attribute", <format> is the "structure attribute"
+ This just puts some friendly names on the data.
+ Just copy this chunk to the <attrs> section of <loc> and
+ uncomment the chunk to use the LoC Z server instead
+ -->
+ <tcn><code>12</code><format>1</format></tcn>
+ <isbn><code>7</code><format>6</format></isbn>
+ <lccn><code>9</code><format>1</format></lccn>
+ <author><code>1003</code><format>6</format></author>
+ <title><code>4</code><format>6</format></title>
+ <issn><code>8</code><format>1</format></issn>
+ <publisher><code>1018</code><format>6</format></publisher>
+ <pubdate><code>31</code><format>1</format></pubdate>
+ <item_type><code>1001</code><format>1</format></item_type>
+ </attrs>
+ </oclc>
+
+ <!--
+ <loc>
+ <name>loc</name>
+ <host>z3950.loc.gov</host>
+ <port>7090</port>
+ <db>Voyager</db>
+ <attrs>
+ </attrs>
+ </loc>
+ -->
+
+ </services>
+ </z3950>
+
+
+ <added_content>
+ <!-- configure an added content plugin -->
+ <module>OpenILS::WWW::AddedContent::Syndetic</module>
+ <userid>MY_USER_ID</userid>
+ <base_url>http://syndetics.com/index.aspx</base_url>
+ </added_content>
+
+
+
+ <!-- no apps are enabled globally by default -->
+ <activeapps/>
+
+ <cache>
+ <!-- memcache servers -->
+ <global>
+ <servers>
+ <server>localhost:11211</server>
+ </servers>
+ <max_cache_time>86400</max_cache_time>
+ </global>
+ </cache>
+
+ <apps>
+ <!-- Authentication server -->
+ <open-ils.auth>
+
+ <!-- how long to wait between stateful requests before the child process re-joins the pool -->
+ <keepalive>5</keepalive>
+
+ <!-- true if this service support stateless requests -->
+ <stateless>1</stateless>
+
+ <!-- implementation language -->
+ <language>c</language>
+
+ <!-- library to plugin -->
+ <implementation>oils_auth.so</implementation>
+
+ <!-- maximum required opensrf requests within a stateful connection -->
+ <max_requests>93</max_requests>
+
+ <unix_config>
+
+ <!-- Note that not all implementations use all settings -->
+
+ <!-- unix sock file -->
+ <unix_sock>open-ils.auth_unix.sock</unix_sock>
+
+ <!-- PID files -->
+ <unix_pid>open-ils.auth_unix.pid</unix_pid>
+
+ <!-- maximum number of top level requests coming to
+ this child before the child is recycled -->
+ <max_requests>1000</max_requests>
+
+ <!-- Perl net::server log -->
+ <unix_log>open-ils.auth_unix.log</unix_log>
+ <!-- min children to fork -->
+ <min_children>1</min_children>
+ <!-- max possible children to fork -->
+ <max_children>15</max_children>
+ <!-- min idle children -->
+ <min_spare_children>1</min_spare_children>
+ <!-- max idle children -->
+ <max_spare_children>5</max_spare_children>
+ </unix_config>
+
+ <app_settings>
+ <!-- defined app-specific settings here -->
+ <default_timeout>
+ <!-- default login timeouts based on login type -->
+ <opac>420</opac>
+ <staff>7200</staff>
+ <temp>300</temp>
+ </default_timeout>
+ </app_settings>
+ </open-ils.auth>
+
+
+ <!-- Generic search server -->
+ <open-ils.search>
+ <keepalive>5</keepalive>
+ <stateless>1</stateless>
+ <language>perl</language>
+ <implementation>OpenILS::Application::Search</implementation>
+ <max_requests>93</max_requests>
+ <unix_config>
+ <unix_sock>open-ils.search_unix.sock</unix_sock>
+ <unix_pid>open-ils.search_unix.pid</unix_pid>
+ <max_requests>1000</max_requests>
+ <unix_log>open-ils.search_unix.log</unix_log>
+ <min_children>1</min_children>
+ <max_children>15</max_children>
+ <min_spare_children>1</min_spare_children>
+ <max_spare_children>5</max_spare_children>
+ </unix_config>
+ <app_settings>
+ <marc_html_xsl>oilsMARC21slim2HTML.xsl</marc_html_xsl>
+ <!-- zip code database file -->
+ <!--<zips_file>/openils/var/data/zips.txt</zips_file>-->
+ </app_settings>
+ </open-ils.search>
+
+ <!-- server for accessing user info -->
+ <open-ils.actor>
+ <keepalive>5</keepalive>
+ <stateless>1</stateless>
+ <language>perl</language>
+ <implementation>OpenILS::Application::Actor</implementation>
+ <max_requests>93</max_requests>
+ <unix_config>
+ <unix_sock>open-ils.actor_unix.sock</unix_sock>
+ <unix_pid>open-ils.actor_unix.pid</unix_pid>
+ <max_requests>1000</max_requests>
+ <unix_log>open-ils.actor_unix.log</unix_log>
+ <min_children>1</min_children>
+ <max_children>15</max_children>
+ <min_spare_children>1</min_spare_children>
+ <max_spare_children>5</max_spare_children>
+ </unix_config>
+ </open-ils.actor>
+
+
+ <open-ils.cat>
+ <keepalive>5</keepalive>
+ <stateless>1</stateless>
+ <language>perl</language>
+ <implementation>OpenILS::Application::Cat</implementation>
+ <max_requests>199</max_requests>
+ <unix_config>
+ <unix_sock>open-ils.cat_unix.sock</unix_sock>
+ <unix_pid>open-ils.cat_unix.pid</unix_pid>
+ <max_requests>1000</max_requests>
+ <unix_log>open-ils.cat_unix.log</unix_log>
+ <min_children>1</min_children>
+ <max_children>15</max_children>
+ <min_spare_children>1</min_spare_children>
+ <max_spare_children>5</max_spare_children>
+ </unix_config>
+ <app_settings>
+ <marctemplates>
+ <K_book>/openils/var/templates/marc/k_book.xml</K_book>
+ </marctemplates>
+ </app_settings>
+ </open-ils.cat>
+
+ <open-ils.supercat>
+ <keepalive>5</keepalive>
+ <stateless>1</stateless>
+ <language>perl</language>
+ <implementation>OpenILS::Application::SuperCat</implementation>
+ <max_requests>199</max_requests>
+ <unix_config>
+ <unix_sock>open-ils.supercat_unix.sock</unix_sock>
+ <unix_pid>open-ils.supercat_unix.pid</unix_pid>
+ <max_requests>1000</max_requests>
+ <unix_log>open-ils.supercat_unix.log</unix_log>
+ <min_children>1</min_children>
+ <max_children>15</max_children>
+ <min_spare_children>1</min_spare_children>
+ <max_spare_children>5</max_spare_children>
+ </unix_config>
+ </open-ils.supercat>
+
+
+ <opensrf.math>
+ <keepalive>3</keepalive>
+ <stateless>1</stateless>
+ <language>c</language>
+ <implementation>osrf_math.so</implementation>
+ <max_requests>97</max_requests>
+ <unix_config>
+ <unix_sock>opensrf.math_unix.sock</unix_sock>
+ <unix_pid>opensrf.math_unix.pid</unix_pid>
+ <max_requests>1000</max_requests>
+ <unix_log>opensrf.math_unix.log</unix_log>
+ <min_children>1</min_children>
+ <max_children>15</max_children>
+ <min_spare_children>1</min_spare_children>
+ <max_spare_children>5</max_spare_children>
+ </unix_config>
+ </opensrf.math>
+
+ <opensrf.dbmath>
+ <keepalive>3</keepalive>
+ <stateless>1</stateless>
+ <language>c</language>
+ <implementation>osrf_dbmath.so</implementation>
+ <max_requests>99</max_requests>
+ <unix_config>
+ <max_requests>1000</max_requests>
+ <unix_log>opensrf.dbmath_unix.log</unix_log>
+ <unix_sock>opensrf.dbmath_unix.sock</unix_sock>
+ <unix_pid>opensrf.dbmath_unix.pid</unix_pid>
+ <min_children>1</min_children>
+ <max_children>15</max_children>
+ <min_spare_children>1</min_spare_children>
+ <max_spare_children>5</max_spare_children>
+ </unix_config>
+ </opensrf.dbmath>
+
+ <open-ils.penalty>
+ <keepalive>3</keepalive>
+ <stateless>1</stateless>
+ <language>perl</language>
+ <implementation>OpenILS::Application::Penalty</implementation>
+ <max_requests>99</max_requests>
+ <unix_config>
+ <max_requests>1000</max_requests>
+ <unix_log>open-ils.penalty_unix.log</unix_log>
+ <unix_sock>open-ils.penalty_unix.sock</unix_sock>
+ <unix_pid>open-ils.penalty_unix.pid</unix_pid>
+ <min_children>1</min_children>
+ <max_children>15</max_children>
+ <min_spare_children>1</min_spare_children>
+ <max_spare_children>5</max_spare_children>
+ </unix_config>
+ <app_settings>
+ <patron_penalty>penalty/patron_penalty.js</patron_penalty>
+ <script_path>/openils/var</script_path>
+ <script_path>/openils/var/catalog</script_path>
+ </app_settings>
+ </open-ils.penalty>
+
+ <open-ils.circ>
+ <keepalive>3</keepalive>
+ <stateless>1</stateless>
+ <language>perl</language>
+ <implementation>OpenILS::Application::Circ</implementation>
+ <max_requests>99</max_requests>
+ <unix_config>
+ <max_requests>1000</max_requests>
+ <unix_log>open-ils.circ_unix.log</unix_log>
+ <unix_sock>open-ils.circ_unix.sock</unix_sock>
+ <unix_pid>open-ils.circ_unix.pid</unix_pid>
+ <min_children>1</min_children>
+ <max_children>15</max_children>
+ <min_spare_children>1</min_spare_children>
+ <max_spare_children>5</max_spare_children>
+ </unix_config>
+ <app_settings>
+ <notify_hold>
+ <email>false</email> <!-- set to true for hold notice emails -->
+ </notify_hold>
+
+ <!-- circulation policy scripts -->
+ <script_path>/openils/var</script_path>
+ <script_path>/openils/var/catalog</script_path>
+ <scripts>
+ <circ_permit_patron>circ/circ_permit_patron.js</circ_permit_patron>
+ <circ_permit_copy>circ/circ_permit_copy.js</circ_permit_copy>
+ <circ_duration>circ/circ_duration.js</circ_duration>
+ <circ_recurring_fines>circ/circ_recurring_fines.js</circ_recurring_fines>
+ <circ_max_fines>circ/circ_max_fines.js</circ_max_fines>
+ <circ_permit_renew>circ/circ_permit_renew.js</circ_permit_renew>
+ <circ_permit_hold>circ/circ_permit_hold.js</circ_permit_hold>
+ </scripts>
+
+ <circ_modifiers>
+ <mod>art</mod>
+ <mod>atlas</mod>
+ <mod>audiobook</mod>
+ <mod>av</mod>
+ <mod>new-av</mod>
+ <mod>bestseller</mod>
+ <mod>bestsellernh</mod>
+ <mod>book</mod>
+ <mod>cd</mod>
+ <mod>dvd</mod>
+ <mod>dvd-long</mod>
+ <mod>e-book</mod>
+ <mod>equipment</mod>
+ <mod>filmstrip</mod>
+ <mod>kit</mod>
+ <mod>magazine</mod>
+ <mod>map</mod>
+ <mod>microform</mod>
+ <mod>music</mod>
+ <mod>record</mod>
+ <mod>software</mod>
+ <mod>softwrlong</mod>
+ <mod>equip-long</mod>
+ <mod>talking book</mod>
+ <mod>toy</mod>
+ <mod>video</mod>
+ <mod>video-long</mod>
+ </circ_modifiers>
+
+ <billing_types>
+ <type>Miscellaneous</type>
+ <type>Overdue materials</type>
+ <type>Fee for placing a hold</type>
+ <type>Fee for checking out a book</type>
+ <type>Fee for library card</type>
+ <type>Miscellaneous charges</type>
+ <type>Lost materials</type>
+ <type>Damaged material</type>
+ <type>Overdue Reserves charge</type>
+ <type>Recall overdue</type>
+ <type>Fee for processing lost library materials</type>
+ <type>Fee for sending patron bills to collection agency</type>
+ <type>Fee for interlibrary loan</type>
+ <type>Fee for copies</type>
+ <type>Money advanced to pay for telephone use</type>
+ <type>Deposit fee</type>
+ <type>Fee for disk</type>
+ <type>Fee for faxing</type>
+ <type>Fee for laminating</type>
+ <type>Fee for room cleaning</type>
+ <type>Deposit returned; fee refund</type>
+ <type>Sale items</type>
+ <type>Fee for lost card</type>
+ <type>Long overdue items</type>
+ <type>Lost/Replacement Cassette</type>
+ <type>Returned Check</type>
+ </billing_types>
+ </app_settings>
+ </open-ils.circ>
+
+ <open-ils.ingest>
+ <keepalive>3</keepalive>
+ <stateless>1</stateless>
+ <implementation>OpenILS::Application::Ingest</implementation>
+ <language>perl</language>
+ <max_requests>1000000</max_requests>
+ <unix_config>
+ <max_requests>1000000</max_requests>
+ <unix_log>open-ils.ingest-unix.log</unix_log>
+ <unix_sock>open-ils.ingest-unix.sock</unix_sock>
+ <unix_pid>open-ils.ingest-unix.pid</unix_pid>
+ <min_children>5</min_children>
+ <max_children>20</max_children>
+ <min_spare_children>2</min_spare_children>
+ <max_spare_children>5</max_spare_children>
+ </unix_config>
+ <app_settings>
+ <script_path>/openils/var/catalog/</script_path>
+ <script_path>/openils/var/web/opac/common/js/</script_path>
+ <scripts>
+ <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
+ <biblio_descriptor>biblio_descriptor.js</biblio_descriptor>
+ </scripts>
+ </app_settings>
+ </open-ils.ingest>
+
+ <open-ils.storage>
+ <keepalive>10</keepalive>
+ <stateless>1</stateless>
+ <language>perl</language>
+ <implementation>OpenILS::Application::Storage</implementation>
+ <unix_config>
+ <max_requests>1000</max_requests>
+ <unix_log>storage_unix.log</unix_log>
+ <unix_sock>storage_unix.sock</unix_sock>
+ <unix_pid>storage_unix.pid</unix_pid>
+ <max_requests>400</max_requests>
+ <min_children>1</min_children>
+ <max_children>10</max_children>
+ <min_spare_children>1</min_spare_children>
+ <max_spare_children>5</max_spare_children>
+ </unix_config>
+ <app_settings>
+ <script_path>/openils/var/catalog/</script_path>
+ <scripts>
+ <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
+ </scripts>
+ <databases>
+ <driver>Pg</driver>
+ <database>
+ <type>master</type>
+ <weight>2</weight>
+ <user>postgres</user>
+ <host>localhost</host>
+ <port>5432</port>
+ <pw>postgres</pw>
+ <db>evergreen</db>
+ <client_encoding>UTF-8</client_encoding>
+ </database>
+ </databases>
+ </app_settings>
+ </open-ils.storage>
+
+
+ <open-ils.cstore>
+ <keepalive>6</keepalive>
+ <stateless>1</stateless>
+ <language>C</language>
+ <implementation>oils_cstore.so</implementation>
+ <max_requests>95</max_requests>
+ <unix_config>
+ <unix_log>cstore.log</unix_log>
+ <unix_sock>cstore.sock</unix_sock>
+ <unix_pid>cstore.pid</unix_pid>
+ <max_requests>400</max_requests>
+ <min_children>1</min_children>
+ <max_children>15</max_children>
+ <min_spare_children>1</min_spare_children>
+ <max_spare_children>5</max_spare_children>
+ </unix_config>
+ <app_settings>
+ <IDL>/openils/conf/fm_IDL.xml</IDL> <!-- deprecated with 1.1.0-->
+ <driver>pgsql</driver>
+ <database>
+ <type>master</type>
+ <weight>2</weight>
+ <user>postgres</user>
+ <host>localhost</host>
+ <port>5432</port>
+ <pw>postgres</pw>
+ <db>evergreen</db>
+ <client_encoding>UTF-8</client_encoding>
+ </database>
+ </app_settings>
+ </open-ils.cstore>
+
+
+
+ <opensrf.settings>
+ <keepalive>1</keepalive>
+ <stateless>1</stateless>
+ <language>perl</language>
+ <implementation>OpenSRF::Application::Settings</implementation>
+ <max_requests>17</max_requests>
+ <unix_config>
+ <unix_sock>opensrf.settings_unix.sock</unix_sock>
+ <unix_pid>opoensrf.settings_unix.pid</unix_pid>
+ <max_requests>300</max_requests>
+ <unix_log>opensrf.settings_unix.log</unix_log>
+ <min_children>5</min_children>
+ <max_children>15</max_children>
+ <min_spare_children>3</min_spare_children>
+ <max_spare_children>5</max_spare_children>
+ </unix_config>
+ </opensrf.settings>
+
+ <open-ils.collections>
+ <keepalive>3</keepalive>
+ <stateless>1</stateless>
+ <language>perl</language>
+ <implementation>OpenILS::Application::Collections</implementation>
+ <max_requests>17</max_requests>
+ <unix_config>
+ <unix_sock>opensrf.collections_unix.sock</unix_sock>
+ <unix_pid>opoensrf.collections_unix.pid</unix_pid>
+ <max_requests>1000</max_requests>
+ <unix_log>opensrf.collections_unix.log</unix_log>
+ <min_children>1</min_children>
+ <max_children>10</max_children>
+ <min_spare_children>1</min_spare_children>
+ <max_spare_children>5</max_spare_children>
+ </unix_config>
+ </open-ils.collections>
+
+ <open-ils.reporter>
+ <keepalive>3</keepalive>
+ <stateless>1</stateless>
+ <language>perl</language>
+ <implementation>OpenILS::Application::Reporter</implementation>
+ <max_requests>99</max_requests>
+ <unix_config>
+ <unix_sock>opensrf.reporter_unix.sock</unix_sock>
+ <unix_pid>opoensrf.reporter_unix.pid</unix_pid>
+ <max_requests>1000</max_requests>
+ <unix_log>opensrf.reporter_unix.log</unix_log>
+ <min_children>1</min_children>
+ <max_children>10</max_children>
+ <min_spare_children>1</min_spare_children>
+ <max_spare_children>5</max_spare_children>
+ </unix_config>
+ </open-ils.reporter>
+
+
+ <open-ils.reporter-store>
+ <keepalive>6</keepalive>
+ <stateless>1</stateless>
+ <language>C</language>
+ <implementation>oils_rstore.so</implementation>
+ <max_requests>95</max_requests>
+ <unix_config>
+ <unix_log>rstore.log</unix_log>
+ <unix_sock>rstore.sock</unix_sock>
+ <unix_pid>rstore.pid</unix_pid>
+ <max_requests>400</max_requests>
+ <min_children>1</min_children>
+ <max_children>10</max_children>
+ <min_spare_children>1</min_spare_children>
+ <max_spare_children>5</max_spare_children>
+ </unix_config>
+ <app_settings>
+ <IDL>/openils/conf/fm_IDL.xml</IDL> <!-- deprecated with 1.1.0 -->
+ <driver>pgsql</driver>
+ <database>
+ <type>master</type>
+ <weight>2</weight>
+ <user>postgres</user>
+ <host>localhost</host>
+ <port>5432</port>
+ <pw>postgres</pw>
+ <db>evergreen</db>
+ <client_encoding>UTF-8</client_encoding>
+ </database>
+ </app_settings>
+ </open-ils.reporter-store>
+
+
+ </apps>
+ </default>
+
+ <hosts>
+ <localhost> <!-- must match "hostname -f" of the hosting machine -->
+ <activeapps>
+ <!-- services hosted on this machine -->
+ <appname>opensrf.settings</appname>
+ <appname>opensrf.math</appname>
+ <appname>opensrf.dbmath</appname>
+ <appname>open-ils.cat</appname>
+ <appname>open-ils.supercat</appname>
+ <appname>open-ils.search</appname>
+ <appname>open-ils.circ</appname>
+ <appname>open-ils.actor</appname>
+ <appname>open-ils.auth</appname>
+ <appname>open-ils.storage</appname>
+ <appname>open-ils.penalty</appname>
+ <appname>open-ils.cstore</appname>
+ <appname>open-ils.collections</appname>
+ <appname>open-ils.ingest</appname>
+ <appname>open-ils.reporter</appname>
+ <appname>open-ils.reporter-store</appname>
+ </activeapps>
+ </localhost>
+ </hosts>
+
+</opensrf>
mkdir -p $(BINDIR)
cp extras/ils_events.xml $(DATADIR)
cp -r perlmods/* $(PERLDIR)
- cp ../examples/openils.xml.example $(ETCDIR)
+ cp ../examples/opensrf.xml.example $(ETCDIR)
cp ../examples/fm_IDL.xml $(ETCDIR)
cp ../examples/oils_sip.xml.example $(ETCDIR)
cp ../examples/hold_notification_template.example $(DATADIR)