4 Example opensrf config file for OpenILS
8 <opensrf version='0.0.3'>
12 <!-- unless otherwise overidden, use this locale -->
13 <default_locale>en-US</default_locale>
16 <log>LOCALSTATEDIR/log</log> <!-- unix::server log files -->
17 <sock>LOCALSTATEDIR/lock</sock> <!-- unix::server sock files -->
18 <pid>LOCALSTATEDIR/run</pid>
19 <xsl>LOCALSTATEDIR/xsl</xsl>
20 <script>LOCALSTATEDIR</script>
21 <script_lib>LOCALSTATEDIR</script_lib>
22 <templates>LOCALSTATEDIR/templates</templates>
25 <!-- global data visibility settings -->
28 <!-- Set to "true" to require patron opt-in for foreign (non-home_ou) transactions -->
29 <opt_in>false</opt_in>
33 <IDL>SYSCONFDIR/fm_IDL.xml</IDL> <!-- top level IDL file -->
34 <IDL2js>fm_IDL2js.xsl</IDL2js> <!-- IDL JS XSLT -->
37 <server_type>prefork</server_type> <!-- net::server type -->
39 <ils_events>LOCALSTATEDIR/data/ils_events.xml</ils_events> <!-- ILS events description file -->
41 <email_notify> <!-- this will eventually move into the notifications section below... -->
42 <!-- global email notification settings -->
43 <template>LOCALSTATEDIR/data/hold_notification_template.example</template>
44 <smtp_server>localhost</smtp_server>
47 in most cases, this is overridden by location
48 specific config settings. this is just the default
50 <sender_address>evergreen@localhost</sender_address>
55 <!-- global mail server settings -->
56 <smtp_server>localhost</smtp_server>
57 <sender_address>evergreen@localhost</sender_address>
59 <!-- global telephony (asterisk) settings -->
61 <!-- replace all values below when telephony server is configured -->
63 <driver>SIP</driver> <!-- SIP (default) or multi -->
64 <channels> <!-- explicit list of channels used if multi -->
65 <!-- A channel specifies technology/resource -->
66 <channel>Zap/1</channel>
67 <channel>Zap/2</channel>
68 <channel>IAX/user:secret@widgets.biz</channel>
70 <host>localhost</host>
72 <user>evergreen</user>
75 The overall composition of callfiles is determined by the
76 relevant template, but this section can be invoked for callfile
77 configs common to all outbound calls.
78 callfile_lines will be inserted into ALL generated callfiles
79 after the Channel line. This content mat be overridden
80 (in whole) by the org unit setting callfile_lines.
81 Warning: Invalid syntax may break ALL outbound calls.
92 <!-- Overdue notices: DEPRECATED in 2.0 in favour of Action/Trigger Notifications -->
95 <!-- optionally, you can define a sender address per notice type -->
96 <sender_address>overdue@localhost</sender_address>
98 <!-- The system can generate an XML file of overdue notices. This is the
99 directory where they are stored. Files are named overdue.YYYY-MM-DD.xml -->
100 <notice_dir>LOCALSTATEDIR/data/overdue</notice_dir>
101 <combined_template>LOCALSTATEDIR/data/templates/overdue_combined_xml.example</combined_template>
104 <!-- Notify at 7 days overdue -->
105 <notify_interval>7 days</notify_interval>
106 <!-- Options include always, noemail, and never. 'noemail' means a notice
107 will be appended to the notice file only if the patron has no valid email address. -->
108 <file_append>noemail</file_append>
109 <!-- do we attempt email notification? -->
110 <email_notify>false</email_notify>
111 <!-- notice template file -->
112 <email_template>LOCALSTATEDIR/data/templates/overdue_7day.example</email_template>
116 <!-- Courtesy notices: DEPRECATED in 2.0 in favour of Action/Trigger Notifications -->
119 <!-- All circulations that circulate between 5 and 13 days -->
120 <circ_duration_range>
123 </circ_duration_range>
124 <!-- notify at 1 day before the due date -->
125 <notify_interval>1 day</notify_interval>
126 <file_append>false</file_append>
127 <email_notify>false</email_notify>
128 <email_template>LOCALSTATEDIR/data/templates/predue_1day.example</email_template>
133 <!-- Settings for the hold targeter cron job -->
135 <!-- number of parallel processes to use during hold targeting;
136 increasing can speed up (re)targeting a large number of
137 hold requests, but with diminishing returns after a point;
138 if increasing this value, it is recommend to do so slowly
140 <parallel>1</parallel>
143 <!-- Settings for the fine generator cron job -->
145 <!-- number of parallel processes to use during fine generation -->
146 <parallel>1</parallel>
151 Settings for the reporter daemon process
154 <base_uri>https://localhost/reporter/</base_uri>
157 <host>localhost</host>
160 <user>postgres</user>
165 <host>localhost</host>
168 <user>postgres</user>
172 <!-- successful report outputs go here -->
173 <output_base>LOCALSTATEDIR/web/reporter</output_base>
174 <success_template>LOCALSTATEDIR/data/report-success</success_template>
175 <fail_template>LOCALSTATEDIR/data/report-fail</fail_template>
183 <!-- XML-RPC gateway. Do NOT publish unprotected services here -->
185 <!-- list of published services -->
186 <service>opensrf.math</service>
187 <service>opensrf.dbmath</service>
188 <service>open-ils.cat</service>
189 <service>open-ils.search</service>
190 <service>open-ils.circ</service>
191 <service>open-ils.actor</service>
192 <service>open-ils.auth</service>
193 <service>open-ils.auth_proxy</service>
194 <service>open-ils.collections</service>
195 <service>open-ils.justintime</service>
200 Once upon a time, Z39.50 servers were defined here. As of Evergreen 2.2,
201 they are now defined in the database. See the Release Notes for
202 instructions on mapping the old XML entries to database tables.
206 <!-- load the OpenLibrary added content module -->
207 <module>OpenILS::WWW::AddedContent::OpenLibrary</module>
210 Max number of seconds to wait for an added content request to
211 return data. Data not returned within the timeout is considered
214 Note that the pool of Apache processes used by the AddedContent
215 module is the same pool used by core Evergreen processes such as
216 search, circulation, etc. Therefore, the higher you set this
217 timeout value, the more likely you are to run out of available
218 Apache processes resulting in an accidental (or purposeful) denial
219 of service - particularly if the added content server starts
220 responding abnormally slowly.
222 The safest option is to disable the AddedContent module completely,
223 but 3 seconds is a compromise between the threat of a denial of
224 service and the enhanced user experience offered by successful added
230 After added content lookups have been disabled due to too many
231 lookup failures, this is the amount of time to wait before
234 <retry_timeout>600</retry_timeout>
237 maximum number of consecutive lookup errors a given process can
238 have before added content lookups are disabled for everyone
240 <max_errors>15</max_errors>
242 <!-- If a userid is required to access the added content.. -->
243 <userid>MY_USER_ID</userid>
246 Base URL for Amazon added content fetching. Not needed by OpenLibrary
247 <base_url>http://images.amazon.com/images/P/</base_url>
251 Segregating the details for ContentCafe out for easier use. At some point, we
252 may want to support multiple services at one time.
255 <userid>MY_USER_ID</userid>
256 <password>MY_PASSWORD</password>
259 Which order to put identifiers in.
260 Default is "isbn,upc", ignoring currently unsupported issn.
261 Should be all lowercase.
262 Remove an identifier from the list to skip it.
264 <identifier_order>isbn,upc</identifier_order>
269 You can add free-form settings here and they will be accessible
270 within the added content module
275 <!-- Config section for acq_order_reader.pl script.
276 It reads MARC order record files from disk (presumably
277 an FTP destination) and pushes the order records into ACQ.
281 <!-- Root directory for all FTP'd ACQ order record files .
282 If the script is configured to talk to a remote acq server,
283 this directory has to be a read/write NFS share. -->
284 <base_dir>/openils/var/data/acq_orders/</base_dir>
286 <!-- any files found in the shared subdir must be inspected
287 (e.g. file name prefix) to determine the provider. -->
288 <shared_subdir>ALL</shared_subdir><!-- SUPPORT PENDING -->
290 <!-- providers that don't provide a mechanism to inspect the file
291 have to push their files to provider-specific locations -->
293 <ordering_agency>BR1</ordering_agency> <!-- who gets/manages the order -->
294 <provider_code>BAB</provider_code>
295 <provider_owner>CONS</provider_owner> <!-- provider provider_owner; org unit shortname -->
296 <subdir>CONS-BAB</subdir> <!-- file directory; full path = base_dir + subdir -->
297 <activate_po>false</activate_po> <!-- activate PO at upload? -->
299 <import_no_match>true</import_no_match>
300 <!-- Most Vandelay options are supported. For bools, use true/false.
309 auto_overlay_best_match
314 <!-- Add more as needed...
323 <!-- no apps are enabled globally by default -->
327 <!-- memcache servers -->
330 <server>127.0.0.1:11211</server>
332 <max_cache_time>86400</max_cache_time>
335 <!-- anonymous cache. currently, primarily used for web session caching -->
337 <server>127.0.0.1:11211</server>
339 <max_cache_time>1800</max_cache_time>
340 <!-- maximum size of a single cache entry / default = 100k-->
341 <max_cache_size>102400</max_cache_size>
346 <!-- Acquisitions server -->
348 <!-- how long to wait between stateful requests before the child process re-joins the pool -->
349 <keepalive>5</keepalive>
350 <!-- true if this service support stateless requests -->
351 <stateless>1</stateless>
352 <!-- implementation language -->
353 <language>perl</language>
354 <!-- name of the library that implements this application -->
355 <implementation>OpenILS::Application::Acq</implementation>
356 <!-- maximum OpenSRF REQUEST within a stateful connection -->
357 <max_requests>100</max_requests>
360 maximum number of top level requests coming to
361 this child before the child is recycled
363 <max_requests>100</max_requests>
364 <!-- min children to fork -->
365 <min_children>1</min_children>
366 <!-- max possible children to fork -->
367 <max_children>15</max_children>
369 C forking implementation does not support
370 min/max idle children, but may in the future
373 <!-- min idle children -->
374 <min_spare_children>1</min_spare_children>
375 <!-- max idle children -->
376 <max_spare_children>5</max_spare_children>
377 <!-- currently, only Perl uses the following 3 settings -->
378 <unix_sock>open-ils.acq_unix.sock</unix_sock>
379 <unix_pid>open-ils.acq_unix.pid</unix_pid>
380 <unix_log>open-ils.acq_unix.log</unix_log>
384 <!-- Authentication server -->
386 <keepalive>5</keepalive>
387 <stateless>1</stateless>
388 <language>c</language>
389 <implementation>oils_auth.so</implementation>
391 <max_requests>1000</max_requests>
392 <min_children>1</min_children>
393 <max_children>15</max_children>
394 <min_spare_children>1</min_spare_children>
395 <max_spare_children>5</max_spare_children>
398 <!-- defined app-specific settings here -->
400 <!-- default login timeouts based on login type -->
404 <persist>2 weeks</persist>
407 <seed>30</seed> <!-- amount of time a seed request is valid for -->
408 <block_time>90</block_time> <!-- amount of time since last auth or seed request to save failure counts -->
409 <block_count>10</block_count> <!-- number of failures before blocking access -->
414 <!-- Authentication proxy server -->
415 <open-ils.auth_proxy>
416 <keepalive>5</keepalive>
417 <stateless>1</stateless>
418 <language>perl</language>
419 <implementation>OpenILS::Application::AuthProxy</implementation>
420 <max_requests>93</max_requests>
423 <max_requests>1000</max_requests>
424 <unix_log>open-ils.auth-proxy_unix.log</unix_log>
425 <unix_sock>open-ils.auth-proxy_unix.sock</unix_sock>
426 <unix_pid>open-ils.auth-proxy_unix.pid</unix_pid>
427 <min_children>1</min_children>
428 <max_children>15</max_children>
429 <min_spare_children>1</min_spare_children>
430 <max_spare_children>5</max_spare_children>
434 <!-- 'enabled' is the master switch; set to 'true' to enable proxied logins -->
435 <enabled>false</enabled>
437 <!-- the following is a sample configuration for the LDAP_Auth module; please adjust as needed -->
441 <module>OpenILS::Application::AuthProxy::LDAP_Auth</module>
442 <hostname>name.domain.com</hostname>
443 <basedn>ou=people,dc=domain,dc=com</basedn>
444 <authid>cn=username,ou=specials,dc=domain,dc=com</authid>
445 <id_attr>uid</id_attr>
446 <password>my_ldap_password_for_authid_user</password>
457 <!-- 'native' is a proxied version of Evergreen's standard authentication -->
460 <!-- you can add 'login_types' and 'org_units' limits to this authenticator as well, if needed -->
464 </open-ils.auth_proxy>
466 <!-- Generic search server -->
468 <keepalive>5</keepalive>
469 <stateless>1</stateless>
470 <language>perl</language>
471 <implementation>OpenILS::Application::Search</implementation>
472 <max_requests>93</max_requests>
474 <unix_sock>open-ils.search_unix.sock</unix_sock>
475 <unix_pid>open-ils.search_unix.pid</unix_pid>
476 <unix_log>open-ils.search_unix.log</unix_log>
478 <max_requests>1000</max_requests>
479 <min_children>1</min_children>
480 <max_children>15</max_children>
481 <min_spare_children>1</min_spare_children>
482 <max_spare_children>5</max_spare_children>
485 <marc_html_xsl>oilsMARC21slim2HTML.xsl</marc_html_xsl>
486 <marc_html_xsl_slim>oilsMARC21slim2HTMLslim.xsl</marc_html_xsl_slim>
488 <spelling_dictionary>
490 Optionally configure different dictionaries depending on search context.
491 If no dictionaries are defined, the default Aspell dictionary is used.
494 <default>LOCALSTATEDIR/data/default_dict.txt</default>
495 <title>LOCALSTATEDIR/data/title_dict.txt</title>
496 <author>LOCALSTATEDIR/data/author_dict.txt</author>
497 <subject>LOCALSTATEDIR/data/subject_dict.txt</subject>
498 <series>LOCALSTATEDIR/data/series_dict.txt</series>
500 </spelling_dictionary>
502 <!-- Default to using staged search -->
503 <use_staged_search>true</use_staged_search>
506 For staged search, we estimate hits based on inclusion or exclusion.
509 inclusion - visible ratio on superpage
510 exclusion - excluded ratio on superpage
511 delete_adjusted_inclusion - included ratio on superpage, ratio adjusted by deleted count
512 delete_adjusted_exclusion - excluded ratio on superpage, ratio adjusted by deleted count
514 Under normal circumstances, inclusion is the best strategy, and both delete_adjusted variants
515 will return the same value +/- 1. The exclusion strategy is the original, and works well
516 when there are few deleted or excluded records, in other words, when the superpage is not
517 sparsely populated with visible records.
519 <estimation_strategy>inclusion</estimation_strategy>
522 Evergreen uses a cover density algorithm for calculating relative ranking of matches. There
523 are several tuning parameters and options available. By default, no document length normalization
524 is applied. From the Postgres documentation on ts_rank_cd() (the function used by Evergreen):
526 Since a longer document has a greater chance of containing a query term it is reasonable
527 to take into account document size, e.g., a hundred-word document with five instances of
528 a search word is probably more relevant than a thousand-word document with five instances.
529 Both ranking functions take an integer normalization option that specifies whether and how
530 a document's length should impact its rank. The integer option controls several behaviors,
531 so it is a bit mask: you can specify one or more behaviors using | (for example, 2|4).
533 0 (the default) ignores the document length
535 1 divides the rank by 1 + the logarithm of the document length
537 2 divides the rank by the document length
539 4 divides the rank by the mean harmonic distance between extents (this is implemented only by ts_rank_cd)
541 8 divides the rank by the number of unique words in document
543 16 divides the rank by 1 + the logarithm of the number of unique words in document
545 32 divides the rank by itself + 1
547 If more than one flag bit is specified, the transformations are applied in the order listed.
549 It is important to note that the ranking functions do not use any global information, so it
550 is impossible to produce a fair normalization to 1% or 100% as sometimes desired. Normalization
551 option 32 (rank/(rank+1)) can be applied to scale all ranks into the range zero to one, but of
552 course this is just a cosmetic change; it will not affect the ordering of the search results.
554 In Evergreen, these options are set via search modifiers. The modifiers are mapped in the
557 * #CD_logDocumentLength => 1 :: rank / (1 + LOG(total_word_count)) :: Longer documents slightly less relevant
558 * #CD_documentLength => 2 :: rank / total_word_count :: Longer documents much less relevant
559 * #CD_meanHarmonic => 4 :: Word Proximity :: Greater matched-word distance is less relevant
560 * #CD_uniqueWords => 8 :: rank / unique_word_count :: Documents with repeated words much less relevant
561 * #CD_logUniqueWords => 16 :: rank / (1 + LOG(unique_word_count)) :: Documents with repeated words slightly less relevant
562 * #CD_selfPlusOne => 32 :: rank / (1 + rank) :: Cosmetic normalization of rank value between 0 and 1
564 Adding one or more of these to the default_CD_modifiers list will cause all searches that use QueryParser to apply them.
566 <default_CD_modifiers>#CD_documentLength #CD_meanHarmonic #CD_uniqueWords</default_CD_modifiers>
569 default_preferred_language
570 Set the global, default preferred languange
572 <default_preferred_language>eng</default_preferred_language>
575 default_preferred_language_weight
576 Set the weight (higher is "better") for the preferred language. Comment out to remove all lanuage weighting by default.
578 <default_preferred_language_weight>5</default_preferred_language_weight>
580 <!-- Baseline number of records to check for hit estimation. -->
581 <superpage_size>1000</superpage_size>
583 <!-- How many superpages to consider for searching overall. -->
584 <max_superpages>10</max_superpages>
586 <!-- zip code database file -->
587 <!--<zips_file>LOCALSTATEDIR/data/zips.txt</zips_file>-->
591 <!-- server for accessing user info -->
593 <keepalive>5</keepalive>
594 <stateless>1</stateless>
595 <language>perl</language>
596 <implementation>OpenILS::Application::Actor</implementation>
597 <max_requests>93</max_requests>
599 <unix_sock>open-ils.actor_unix.sock</unix_sock>
600 <unix_pid>open-ils.actor_unix.pid</unix_pid>
601 <max_requests>1000</max_requests>
602 <unix_log>open-ils.actor_unix.log</unix_log>
603 <min_children>1</min_children>
604 <max_children>15</max_children>
605 <min_spare_children>1</min_spare_children>
606 <max_spare_children>5</max_spare_children>
608 <!-- set this to 'true' to have barcode search also search patron records by unique ID -->
610 <id_as_barcode>false</id_as_barcode>
616 <keepalive>5</keepalive>
617 <stateless>1</stateless>
618 <language>perl</language>
619 <implementation>OpenILS::Application::Booking</implementation>
620 <max_requests>199</max_requests>
622 <unix_sock>open-ils.booking_unix.sock</unix_sock>
623 <unix_pid>open-ils.booking_unix.pid</unix_pid>
624 <max_requests>1000</max_requests>
625 <unix_log>open-ils.booking_unix.log</unix_log>
626 <min_children>1</min_children>
627 <max_children>15</max_children>
628 <min_spare_children>1</min_spare_children>
629 <max_spare_children>5</max_spare_children>
636 <keepalive>5</keepalive>
637 <stateless>1</stateless>
638 <language>perl</language>
639 <implementation>OpenILS::Application::Cat</implementation>
640 <max_requests>199</max_requests>
642 <unix_sock>open-ils.cat_unix.sock</unix_sock>
643 <unix_pid>open-ils.cat_unix.pid</unix_pid>
644 <max_requests>1000</max_requests>
645 <unix_log>open-ils.cat_unix.log</unix_log>
646 <min_children>1</min_children>
647 <max_children>15</max_children>
648 <min_spare_children>1</min_spare_children>
649 <max_spare_children>5</max_spare_children>
653 <K_book>LOCALSTATEDIR/templates/marc/k_book.xml</K_book>
659 <keepalive>5</keepalive>
660 <stateless>1</stateless>
661 <language>perl</language>
662 <implementation>OpenILS::Application::SuperCat</implementation>
663 <max_requests>199</max_requests>
665 <unix_sock>open-ils.supercat_unix.sock</unix_sock>
666 <unix_pid>open-ils.supercat_unix.pid</unix_pid>
667 <max_requests>1000</max_requests>
668 <unix_log>open-ils.supercat_unix.log</unix_log>
669 <min_children>1</min_children>
670 <max_children>15</max_children>
671 <min_spare_children>1</min_spare_children>
672 <max_spare_children>5</max_spare_children>
676 <!-- server for accessing user info -->
678 <keepalive>5</keepalive>
679 <stateless>1</stateless>
680 <language>perl</language>
681 <implementation>OpenILS::Application::Trigger</implementation>
682 <max_requests>93</max_requests>
684 <unix_sock>open-ils.trigger_unix.sock</unix_sock>
685 <unix_pid>open-ils.trigger_unix.pid</unix_pid>
686 <max_requests>1000</max_requests>
687 <unix_log>open-ils.trigger_unix.log</unix_log>
688 <min_children>1</min_children>
689 <max_children>15</max_children>
690 <min_spare_children>1</min_spare_children>
691 <max_spare_children>5</max_spare_children>
694 <!-- number of parallel open-ils.trigger processes to use for collection and reaction -->
704 <open-ils.url_verify>
705 <keepalive>5</keepalive>
706 <stateless>1</stateless>
707 <language>perl</language>
708 <implementation>OpenILS::Application::URLVerify</implementation>
709 <max_requests>199</max_requests>
711 <unix_sock>open-ils.url_verify_unix.sock</unix_sock>
712 <unix_pid>open-ils.url_verify_unix.pid</unix_pid>
713 <max_requests>1000</max_requests>
714 <unix_log>open-ils.url_verify_unix.log</unix_log>
715 <min_children>1</min_children>
716 <max_children>15</max_children>
717 <min_spare_children>1</min_spare_children>
718 <max_spare_children>5</max_spare_children>
721 <user_agent>Evergreen %s Link Checker</user_agent>
723 </open-ils.url_verify>
726 <keepalive>3</keepalive>
727 <stateless>1</stateless>
728 <language>c</language>
729 <implementation>osrf_math.so</implementation>
731 <unix_sock>opensrf.math_unix.sock</unix_sock>
732 <unix_pid>opensrf.math_unix.pid</unix_pid>
733 <max_requests>1000</max_requests>
734 <unix_log>opensrf.math_unix.log</unix_log>
735 <min_children>1</min_children>
736 <max_children>15</max_children>
737 <min_spare_children>1</min_spare_children>
738 <max_spare_children>5</max_spare_children>
743 <keepalive>3</keepalive>
744 <stateless>1</stateless>
745 <language>c</language>
746 <implementation>osrf_dbmath.so</implementation>
748 <max_requests>1000</max_requests>
749 <unix_log>opensrf.dbmath_unix.log</unix_log>
750 <unix_sock>opensrf.dbmath_unix.sock</unix_sock>
751 <unix_pid>opensrf.dbmath_unix.pid</unix_pid>
752 <min_children>1</min_children>
753 <max_children>15</max_children>
754 <min_spare_children>1</min_spare_children>
755 <max_spare_children>5</max_spare_children>
760 <keepalive>3</keepalive>
761 <stateless>1</stateless>
762 <language>perl</language>
763 <implementation>OpenILS::Application::Penalty</implementation>
764 <max_requests>99</max_requests>
766 <max_requests>1000</max_requests>
767 <unix_log>open-ils.penalty_unix.log</unix_log>
768 <unix_sock>open-ils.penalty_unix.sock</unix_sock>
769 <unix_pid>open-ils.penalty_unix.pid</unix_pid>
770 <min_children>1</min_children>
771 <max_children>15</max_children>
772 <min_spare_children>1</min_spare_children>
773 <max_spare_children>5</max_spare_children>
776 <patron_penalty>penalty/patron_penalty.js</patron_penalty>
777 <script_path>LIBDIR/javascript</script_path>
778 <script_path>LOCALSTATEDIR</script_path>
779 <script_path>LOCALSTATEDIR/catalog</script_path>
783 <open-ils.justintime>
784 <keepalive>5</keepalive>
785 <stateless>1</stateless>
786 <language>perl</language>
787 <implementation>OpenILS::Application::JustInTime</implementation>
788 <max_requests>199</max_requests>
790 <unix_sock>open-ils.justintime_unix.sock</unix_sock>
791 <unix_pid>open-ils.justintime_unix.pid</unix_pid>
792 <max_requests>1000</max_requests>
793 <unix_log>open-ils.justintime_unix.log</unix_log>
794 <min_children>1</min_children>
795 <max_children>15</max_children>
796 <min_spare_children>1</min_spare_children>
797 <max_spare_children>5</max_spare_children>
801 </open-ils.justintime>
804 <keepalive>3</keepalive>
805 <stateless>1</stateless>
806 <language>perl</language>
807 <implementation>OpenILS::Application::Circ</implementation>
808 <max_requests>99</max_requests>
810 <max_requests>1000</max_requests>
811 <unix_log>open-ils.circ_unix.log</unix_log>
812 <unix_sock>open-ils.circ_unix.sock</unix_sock>
813 <unix_pid>open-ils.circ_unix.pid</unix_pid>
814 <min_children>1</min_children>
815 <max_children>15</max_children>
816 <min_spare_children>1</min_spare_children>
817 <max_spare_children>5</max_spare_children>
821 <email>false</email> <!-- set to false to disable hold notice emails -->
824 <!-- circulation policy scripts -->
825 <script_path>LIBDIR/javascript</script_path>
826 <script_path>LOCALSTATEDIR</script_path>
827 <script_path>LOCALSTATEDIR/catalog</script_path>
828 <legacy_script_support>false</legacy_script_support>
830 <circ_permit_patron>circ/circ_permit_patron.js</circ_permit_patron>
831 <circ_permit_copy>circ/circ_permit_copy.js</circ_permit_copy>
832 <circ_duration>circ/circ_duration.js</circ_duration>
833 <circ_recurring_fines>circ/circ_recurring_fines.js</circ_recurring_fines>
834 <circ_max_fines>circ/circ_max_fines.js</circ_max_fines>
835 <circ_permit_renew>circ/circ_permit_renew.js</circ_permit_renew>
836 <circ_permit_hold>circ/circ_permit_hold.js</circ_permit_hold>
843 <keepalive>10</keepalive>
844 <stateless>1</stateless>
845 <language>perl</language>
846 <implementation>OpenILS::Application::Storage</implementation>
848 <max_requests>1000</max_requests>
849 <unix_log>open-ils.storage_unix.log</unix_log>
850 <unix_sock>open-ils.storage_unix.sock</unix_sock>
851 <unix_pid>open-ils.storage_unix.pid</unix_pid>
852 <min_children>1</min_children>
853 <max_children>10</max_children>
854 <min_spare_children>1</min_spare_children>
855 <max_spare_children>5</max_spare_children>
858 <script_path>LIBDIR/javascript/</script_path>
859 <script_path>LOCALSTATEDIR/catalog/</script_path>
861 <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
868 <user>postgres</user>
869 <host>localhost</host>
873 <client_encoding>UTF-8</client_encoding>
880 <keepalive>6</keepalive>
881 <stateless>1</stateless>
882 <language>C</language>
883 <implementation>oils_cstore.so</implementation>
885 <max_requests>1000</max_requests>
886 <min_children>1</min_children>
887 <max_children>15</max_children>
888 <min_spare_children>1</min_spare_children>
889 <max_spare_children>5</max_spare_children>
892 <max_query_recursion>100</max_query_recursion>
893 <driver>pgsql</driver>
897 <user>postgres</user>
898 <host>localhost</host>
902 <client_encoding>UTF-8</client_encoding>
908 <keepalive>6</keepalive>
909 <migratable>1</migratable>
910 <stateless>1</stateless>
911 <language>C</language>
912 <implementation>oils_pcrud.so</implementation>
915 <unix_log>open-ils.pcrud.log</unix_log>
916 <unix_sock>open-ils.pcrud.sock</unix_sock>
917 <unix_pid>open-ils.pcrud.pid</unix_pid>
918 <max_requests>1000</max_requests>
919 <min_children>1</min_children>
920 <max_children>15</max_children>
921 <min_spare_children>1</min_spare_children>
922 <max_spare_children>5</max_spare_children>
926 <IDL>SYSCONFDIR/fm_IDL.xml</IDL>
927 <driver>pgsql</driver>
931 <user>postgres</user>
932 <host>localhost</host>
936 <client_encoding>UTF-8</client_encoding>
942 <keepalive>6</keepalive>
943 <stateless>1</stateless>
944 <language>C</language>
945 <implementation>oils_qstore.so</implementation>
947 <max_requests>1000</max_requests>
948 <min_children>1</min_children>
949 <max_children>15</max_children>
950 <min_spare_children>1</min_spare_children>
951 <max_spare_children>5</max_spare_children>
954 <driver>pgsql</driver>
958 <user>postgres</user>
959 <host>localhost</host>
963 <client_encoding>UTF-8</client_encoding>
969 <keepalive>1</keepalive>
970 <stateless>1</stateless>
971 <language>perl</language>
972 <implementation>OpenSRF::Application::Settings</implementation>
973 <max_requests>17</max_requests>
975 <unix_sock>opensrf.settings_unix.sock</unix_sock>
976 <unix_pid>opensrf.settings_unix.pid</unix_pid>
977 <max_requests>300</max_requests>
978 <unix_log>opensrf.settings_unix.log</unix_log>
979 <min_children>5</min_children>
980 <max_children>15</max_children>
981 <min_spare_children>3</min_spare_children>
982 <max_spare_children>5</max_spare_children>
986 <open-ils.collections>
987 <keepalive>3</keepalive>
988 <stateless>1</stateless>
989 <language>perl</language>
990 <implementation>OpenILS::Application::Collections</implementation>
991 <max_requests>17</max_requests>
993 <unix_sock>open-ils.collections_unix.sock</unix_sock>
994 <unix_pid>open-ils.collections_unix.pid</unix_pid>
995 <max_requests>1000</max_requests>
996 <unix_log>open-ils.collections_unix.log</unix_log>
997 <min_children>1</min_children>
998 <max_children>10</max_children>
999 <min_spare_children>1</min_spare_children>
1000 <max_spare_children>5</max_spare_children>
1003 <!-- batch_file_dir must be a protected, web-accessible, shared directory -->
1004 <batch_file_dir>/openils/var/web/collections</batch_file_dir>
1006 </open-ils.collections>
1009 <keepalive>3</keepalive>
1010 <stateless>1</stateless>
1011 <language>perl</language>
1012 <implementation>OpenILS::Application::Reporter</implementation>
1013 <max_requests>99</max_requests>
1015 <unix_sock>open-ils.reporter_unix.sock</unix_sock>
1016 <unix_pid>open-ils.reporter_unix.pid</unix_pid>
1017 <max_requests>1000</max_requests>
1018 <unix_log>open-ils.reporter_unix.log</unix_log>
1019 <min_children>1</min_children>
1020 <max_children>10</max_children>
1021 <min_spare_children>1</min_spare_children>
1022 <max_spare_children>5</max_spare_children>
1024 </open-ils.reporter>
1026 <open-ils.reporter-store>
1027 <keepalive>6</keepalive>
1028 <stateless>1</stateless>
1029 <language>C</language>
1030 <implementation>oils_rstore.so</implementation>
1032 <max_requests>400</max_requests>
1033 <min_children>1</min_children>
1034 <max_children>10</max_children>
1035 <min_spare_children>1</min_spare_children>
1036 <max_spare_children>5</max_spare_children>
1039 <driver>pgsql</driver>
1043 <user>postgres</user>
1044 <host>localhost</host>
1048 <client_encoding>UTF-8</client_encoding>
1051 </open-ils.reporter-store>
1053 <!-- resolver_type defaults to sfx but can also be cufts -->
1056 <keepalive>3</keepalive>
1057 <stateless>1</stateless>
1058 <language>perl</language>
1059 <implementation>OpenILS::Application::ResolverResolver</implementation>
1060 <max_requests>93</max_requests>
1062 <unix_sock>open-ils.resolver_unix.sock</unix_sock>
1063 <unix_pid>open-ils.resolver_unix.pid</unix_pid>
1064 <max_requests>1000</max_requests>
1065 <unix_log>open-ils.resolver_unix.log</unix_log>
1066 <min_children>5</min_children>
1067 <max_children>15</max_children>
1068 <min_spare_children>3</min_spare_children>
1069 <max_spare_children>5</max_spare_children>
1072 <cache_timeout>86400</cache_timeout>
1073 <request_timeout>10</request_timeout>
1074 <default_url_base>http://path/to/sfx_or_cufts</default_url_base>
1075 <resolver_type>sfx</resolver_type>
1077 </open-ils.resolver>
1080 <open-ils.permacrud>
1081 <keepalive>3</keepalive>
1082 <stateless>1</stateless>
1083 <language>perl</language>
1084 <implementation>OpenILS::Application::PermaCrud</implementation>
1085 <max_requests>17</max_requests>
1087 <unix_sock>open-ils.permacrud_unix.sock</unix_sock>
1088 <unix_pid>open-ils.permacrud_unix.pid</unix_pid>
1089 <max_requests>1000</max_requests>
1090 <unix_log>open-ils.permacrud_unix.log</unix_log>
1091 <min_children>5</min_children>
1092 <max_children>15</max_children>
1093 <min_spare_children>3</min_spare_children>
1094 <max_spare_children>5</max_spare_children>
1096 </open-ils.permacrud>
1099 <keepalive>3</keepalive>
1100 <stateless>1</stateless>
1101 <language>perl</language>
1102 <implementation>OpenILS::Application::Fielder</implementation>
1103 <max_requests>17</max_requests>
1105 <unix_sock>open-ils.fielder_unix.sock</unix_sock>
1106 <unix_pid>open-ils.fielder_unix.pid</unix_pid>
1107 <max_requests>1000</max_requests>
1108 <unix_log>open-ils.fielder_unix.log</unix_log>
1109 <min_children>5</min_children>
1110 <max_children>15</max_children>
1111 <min_spare_children>3</min_spare_children>
1112 <max_spare_children>5</max_spare_children>
1117 <keepalive>5</keepalive>
1118 <stateless>1</stateless>
1119 <language>perl</language>
1120 <implementation>OpenILS::Application::Vandelay</implementation>
1121 <max_requests>100</max_requests>
1123 <unix_sock>vandelay_unix.sock</unix_sock>
1124 <unix_pid>vandelay_unix.pid</unix_pid>
1125 <unix_log>vandelay_unix.log</unix_log>
1126 <max_requests>100</max_requests>
1127 <min_children>1</min_children>
1128 <max_children>15</max_children>
1129 <min_spare_children>1</min_spare_children>
1130 <max_spare_children>5</max_spare_children>
1134 <!-- temporary location for MARC import files.
1135 Files will be deleted after records are spooled.
1136 *note: in a multi-brick environment, this will need to
1137 be on a write-able NFS share. -->
1138 <importer>/tmp</importer>
1141 </open-ils.vandelay>
1144 <keepalive>3</keepalive>
1145 <stateless>1</stateless>
1146 <language>perl</language>
1147 <implementation>OpenILS::Application::Serial</implementation>
1148 <max_requests>17</max_requests>
1150 <unix_sock>open-ils.serial_unix.sock</unix_sock>
1151 <unix_pid>open-ils.serial_unix.pid</unix_pid>
1152 <max_requests>1000</max_requests>
1153 <unix_log>open-ils.serial_unix.log</unix_log>
1154 <min_children>5</min_children>
1155 <max_children>15</max_children>
1156 <min_spare_children>3</min_spare_children>
1157 <max_spare_children>5</max_spare_children>
1170 Should match the fully qualified domain name of the host.
1172 On Linux, the output of the following command is authoritative:
1173 $ perl -MNet::Domain -e 'print Net::Domain::hostfqdn() . "\n";'
1175 To use 'localhost' instead, run osrf_control with the 'localhost' flag
1179 <!-- services hosted on this machine -->
1180 <appname>opensrf.settings</appname>
1181 <appname>opensrf.math</appname>
1182 <appname>opensrf.dbmath</appname>
1183 <appname>open-ils.acq</appname>
1184 <appname>open-ils.booking</appname>
1185 <appname>open-ils.cat</appname>
1186 <appname>open-ils.supercat</appname>
1187 <appname>open-ils.search</appname>
1188 <appname>open-ils.circ</appname>
1189 <appname>open-ils.actor</appname>
1190 <appname>open-ils.auth</appname>
1191 <appname>open-ils.auth_proxy</appname>
1192 <appname>open-ils.storage</appname>
1193 <appname>open-ils.penalty</appname>
1194 <appname>open-ils.justintime</appname>
1195 <appname>open-ils.cstore</appname>
1196 <appname>open-ils.collections</appname>
1197 <appname>open-ils.reporter</appname>
1198 <appname>open-ils.reporter-store</appname>
1199 <!-- <appname>open-ils.resolver</appname> -->
1200 <appname>open-ils.permacrud</appname>
1201 <appname>open-ils.pcrud</appname>
1202 <appname>open-ils.trigger</appname>
1203 <appname>open-ils.url_verify</appname>
1204 <appname>open-ils.fielder</appname>
1205 <appname>open-ils.vandelay</appname>
1206 <appname>open-ils.serial</appname>