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 If no cover/jacket image exists for a given ISBN, then a value of T here will
260 return an 80x120 pixel image containing the text "No Image Available". A
261 value of 1 will return a 1x1 pixel image.
263 <return_behavior_on_no_jacket_image>T</return_behavior_on_no_jacket_image>
268 You can add free-form settings here and they will be accessible
269 within the added content module
274 <!-- Config section for acq_order_reader.pl script.
275 It reads MARC order record files from disk (presumably
276 an FTP destination) and pushes the order records into ACQ.
280 <!-- Root directory for all FTP'd ACQ order record files .
281 If the script is configured to talk to a remote acq server,
282 this directory has to be a read/write NFS share. -->
283 <base_dir>/openils/var/data/acq_orders/</base_dir>
285 <!-- any files found in the shared subdir must be inspected
286 (e.g. file name prefix) to determine the provider. -->
287 <shared_subdir>ALL</shared_subdir><!-- SUPPORT PENDING -->
289 <!-- providers that don't provide a mechanism to inspect the file
290 have to push their files to provider-specific locations -->
292 <ordering_agency>BR1</ordering_agency> <!-- who gets/manages the order -->
293 <provider_code>BAB</provider_code>
294 <provider_owner>CONS</provider_owner> <!-- provider provider_owner; org unit shortname -->
295 <subdir>CONS-BAB</subdir> <!-- file directory; full path = base_dir + subdir -->
296 <activate_po>false</activate_po> <!-- activate PO at upload? -->
298 <import_no_match>true</import_no_match>
299 <!-- Most Vandelay options are supported. For bools, use true/false.
308 auto_overlay_best_match
313 <!-- Add more as needed...
322 <!-- no apps are enabled globally by default -->
326 <!-- memcache servers -->
329 <server>127.0.0.1:11211</server>
331 <max_cache_time>86400</max_cache_time>
334 <!-- anonymous cache. currently, primarily used for web session caching -->
336 <server>127.0.0.1:11211</server>
338 <max_cache_time>1800</max_cache_time>
339 <!-- maximum size of a single cache entry / default = 100k-->
340 <max_cache_size>102400</max_cache_size>
345 <!-- Acquisitions server -->
347 <!-- how long to wait between stateful requests before the child process re-joins the pool -->
348 <keepalive>5</keepalive>
349 <!-- true if this service support stateless requests -->
350 <stateless>1</stateless>
351 <!-- implementation language -->
352 <language>perl</language>
353 <!-- name of the library that implements this application -->
354 <implementation>OpenILS::Application::Acq</implementation>
355 <!-- maximum OpenSRF REQUEST within a stateful connection -->
356 <max_requests>100</max_requests>
359 maximum number of top level requests coming to
360 this child before the child is recycled
362 <max_requests>100</max_requests>
363 <!-- min children to fork -->
364 <min_children>1</min_children>
365 <!-- max possible children to fork -->
366 <max_children>15</max_children>
368 C forking implementation does not support
369 min/max idle children, but may in the future
372 <!-- min idle children -->
373 <min_spare_children>1</min_spare_children>
374 <!-- max idle children -->
375 <max_spare_children>5</max_spare_children>
376 <!-- currently, only Perl uses the following 3 settings -->
377 <unix_sock>open-ils.acq_unix.sock</unix_sock>
378 <unix_pid>open-ils.acq_unix.pid</unix_pid>
379 <unix_log>open-ils.acq_unix.log</unix_log>
383 <!-- Authentication server -->
385 <keepalive>5</keepalive>
386 <stateless>1</stateless>
387 <language>c</language>
388 <implementation>oils_auth.so</implementation>
390 <max_requests>1000</max_requests>
391 <min_children>1</min_children>
392 <max_children>15</max_children>
393 <min_spare_children>1</min_spare_children>
394 <max_spare_children>5</max_spare_children>
397 <!-- defined app-specific settings here -->
399 <!-- default login timeouts based on login type -->
403 <persist>2 weeks</persist>
406 <seed>30</seed> <!-- amount of time a seed request is valid for -->
407 <block_time>90</block_time> <!-- amount of time since last auth or seed request to save failure counts -->
408 <block_count>10</block_count> <!-- number of failures before blocking access -->
413 <!-- Authentication proxy server -->
414 <open-ils.auth_proxy>
415 <keepalive>5</keepalive>
416 <stateless>1</stateless>
417 <language>perl</language>
418 <implementation>OpenILS::Application::AuthProxy</implementation>
419 <max_requests>93</max_requests>
422 <max_requests>1000</max_requests>
423 <unix_log>open-ils.auth-proxy_unix.log</unix_log>
424 <unix_sock>open-ils.auth-proxy_unix.sock</unix_sock>
425 <unix_pid>open-ils.auth-proxy_unix.pid</unix_pid>
426 <min_children>1</min_children>
427 <max_children>15</max_children>
428 <min_spare_children>1</min_spare_children>
429 <max_spare_children>5</max_spare_children>
433 <!-- 'enabled' is the master switch; set to 'true' to enable proxied logins -->
434 <enabled>false</enabled>
436 <!-- the following is a sample configuration for the LDAP_Auth module; please adjust as needed -->
440 <module>OpenILS::Application::AuthProxy::LDAP_Auth</module>
441 <hostname>name.domain.com</hostname>
442 <basedn>ou=people,dc=domain,dc=com</basedn>
443 <authid>cn=username,ou=specials,dc=domain,dc=com</authid>
444 <id_attr>uid</id_attr>
445 <password>my_ldap_password_for_authid_user</password>
456 <!-- 'native' is a proxied version of Evergreen's standard authentication -->
459 <!-- you can add 'login_types' and 'org_units' limits to this authenticator as well, if needed -->
463 </open-ils.auth_proxy>
465 <!-- Generic search server -->
467 <keepalive>5</keepalive>
468 <stateless>1</stateless>
469 <language>perl</language>
470 <implementation>OpenILS::Application::Search</implementation>
471 <max_requests>93</max_requests>
473 <unix_sock>open-ils.search_unix.sock</unix_sock>
474 <unix_pid>open-ils.search_unix.pid</unix_pid>
475 <unix_log>open-ils.search_unix.log</unix_log>
477 <max_requests>1000</max_requests>
478 <min_children>1</min_children>
479 <max_children>15</max_children>
480 <min_spare_children>1</min_spare_children>
481 <max_spare_children>5</max_spare_children>
484 <marc_html_xsl>oilsMARC21slim2HTML.xsl</marc_html_xsl>
485 <marc_html_xsl_slim>oilsMARC21slim2HTMLslim.xsl</marc_html_xsl_slim>
487 <spelling_dictionary>
489 Optionally configure different dictionaries depending on search context.
490 If no dictionaries are defined, the default Aspell dictionary is used.
493 <default>LOCALSTATEDIR/data/default_dict.txt</default>
494 <title>LOCALSTATEDIR/data/title_dict.txt</title>
495 <author>LOCALSTATEDIR/data/author_dict.txt</author>
496 <subject>LOCALSTATEDIR/data/subject_dict.txt</subject>
497 <series>LOCALSTATEDIR/data/series_dict.txt</series>
499 </spelling_dictionary>
501 <!-- Default to using staged search -->
502 <use_staged_search>true</use_staged_search>
505 For staged search, we estimate hits based on inclusion or exclusion.
508 inclusion - visible ratio on superpage
509 exclusion - excluded ratio on superpage
510 delete_adjusted_inclusion - included ratio on superpage, ratio adjusted by deleted count
511 delete_adjusted_exclusion - excluded ratio on superpage, ratio adjusted by deleted count
513 Under normal circumstances, inclusion is the best strategy, and both delete_adjusted variants
514 will return the same value +/- 1. The exclusion strategy is the original, and works well
515 when there are few deleted or excluded records, in other words, when the superpage is not
516 sparsely populated with visible records.
518 <estimation_strategy>inclusion</estimation_strategy>
521 Evergreen uses a cover density algorithm for calculating relative ranking of matches. There
522 are several tuning parameters and options available. By default, no document length normalization
523 is applied. From the Postgres documentation on ts_rank_cd() (the function used by Evergreen):
525 Since a longer document has a greater chance of containing a query term it is reasonable
526 to take into account document size, e.g., a hundred-word document with five instances of
527 a search word is probably more relevant than a thousand-word document with five instances.
528 Both ranking functions take an integer normalization option that specifies whether and how
529 a document's length should impact its rank. The integer option controls several behaviors,
530 so it is a bit mask: you can specify one or more behaviors using | (for example, 2|4).
532 0 (the default) ignores the document length
534 1 divides the rank by 1 + the logarithm of the document length
536 2 divides the rank by the document length
538 4 divides the rank by the mean harmonic distance between extents (this is implemented only by ts_rank_cd)
540 8 divides the rank by the number of unique words in document
542 16 divides the rank by 1 + the logarithm of the number of unique words in document
544 32 divides the rank by itself + 1
546 If more than one flag bit is specified, the transformations are applied in the order listed.
548 It is important to note that the ranking functions do not use any global information, so it
549 is impossible to produce a fair normalization to 1% or 100% as sometimes desired. Normalization
550 option 32 (rank/(rank+1)) can be applied to scale all ranks into the range zero to one, but of
551 course this is just a cosmetic change; it will not affect the ordering of the search results.
553 In Evergreen, these options are set via search modifiers. The modifiers are mapped in the
556 * #CD_logDocumentLength => 1 :: rank / (1 + LOG(total_word_count)) :: Longer documents slightly less relevant
557 * #CD_documentLength => 2 :: rank / total_word_count :: Longer documents much less relevant
558 * #CD_meanHarmonic => 4 :: Word Proximity :: Greater matched-word distance is less relevant
559 * #CD_uniqueWords => 8 :: rank / unique_word_count :: Documents with repeated words much less relevant
560 * #CD_logUniqueWords => 16 :: rank / (1 + LOG(unique_word_count)) :: Documents with repeated words slightly less relevant
561 * #CD_selfPlusOne => 32 :: rank / (1 + rank) :: Cosmetic normalization of rank value between 0 and 1
563 Adding one or more of these to the default_CD_modifiers list will cause all searches that use QueryParser to apply them.
565 <default_CD_modifiers>#CD_documentLength #CD_meanHarmonic #CD_uniqueWords</default_CD_modifiers>
568 default_preferred_language
569 Set the global, default preferred languange
571 <default_preferred_language>eng</default_preferred_language>
574 default_preferred_language_weight
575 Set the weight (higher is "better") for the preferred language. Comment out to remove all lanuage weighting by default.
577 <default_preferred_language_weight>5</default_preferred_language_weight>
579 <!-- Baseline number of records to check for hit estimation. -->
580 <superpage_size>1000</superpage_size>
582 <!-- How many superpages to consider for searching overall. -->
583 <max_superpages>10</max_superpages>
585 <!-- zip code database file -->
586 <!--<zips_file>LOCALSTATEDIR/data/zips.txt</zips_file>-->
590 <!-- server for accessing user info -->
592 <keepalive>5</keepalive>
593 <stateless>1</stateless>
594 <language>perl</language>
595 <implementation>OpenILS::Application::Actor</implementation>
596 <max_requests>93</max_requests>
598 <unix_sock>open-ils.actor_unix.sock</unix_sock>
599 <unix_pid>open-ils.actor_unix.pid</unix_pid>
600 <max_requests>1000</max_requests>
601 <unix_log>open-ils.actor_unix.log</unix_log>
602 <min_children>1</min_children>
603 <max_children>15</max_children>
604 <min_spare_children>1</min_spare_children>
605 <max_spare_children>5</max_spare_children>
607 <!-- set this to 'true' to have barcode search also search patron records by unique ID -->
609 <id_as_barcode>false</id_as_barcode>
615 <keepalive>5</keepalive>
616 <stateless>1</stateless>
617 <language>perl</language>
618 <implementation>OpenILS::Application::Booking</implementation>
619 <max_requests>199</max_requests>
621 <unix_sock>open-ils.booking_unix.sock</unix_sock>
622 <unix_pid>open-ils.booking_unix.pid</unix_pid>
623 <max_requests>1000</max_requests>
624 <unix_log>open-ils.booking_unix.log</unix_log>
625 <min_children>1</min_children>
626 <max_children>15</max_children>
627 <min_spare_children>1</min_spare_children>
628 <max_spare_children>5</max_spare_children>
635 <keepalive>5</keepalive>
636 <stateless>1</stateless>
637 <language>perl</language>
638 <implementation>OpenILS::Application::Cat</implementation>
639 <max_requests>199</max_requests>
641 <unix_sock>open-ils.cat_unix.sock</unix_sock>
642 <unix_pid>open-ils.cat_unix.pid</unix_pid>
643 <max_requests>1000</max_requests>
644 <unix_log>open-ils.cat_unix.log</unix_log>
645 <min_children>1</min_children>
646 <max_children>15</max_children>
647 <min_spare_children>1</min_spare_children>
648 <max_spare_children>5</max_spare_children>
652 <K_book>LOCALSTATEDIR/templates/marc/k_book.xml</K_book>
658 <keepalive>5</keepalive>
659 <stateless>1</stateless>
660 <language>perl</language>
661 <implementation>OpenILS::Application::SuperCat</implementation>
662 <max_requests>199</max_requests>
664 <unix_sock>open-ils.supercat_unix.sock</unix_sock>
665 <unix_pid>open-ils.supercat_unix.pid</unix_pid>
666 <max_requests>1000</max_requests>
667 <unix_log>open-ils.supercat_unix.log</unix_log>
668 <min_children>1</min_children>
669 <max_children>15</max_children>
670 <min_spare_children>1</min_spare_children>
671 <max_spare_children>5</max_spare_children>
675 <!-- server for accessing user info -->
677 <keepalive>5</keepalive>
678 <stateless>1</stateless>
679 <language>perl</language>
680 <implementation>OpenILS::Application::Trigger</implementation>
681 <max_requests>93</max_requests>
683 <unix_sock>open-ils.trigger_unix.sock</unix_sock>
684 <unix_pid>open-ils.trigger_unix.pid</unix_pid>
685 <max_requests>1000</max_requests>
686 <unix_log>open-ils.trigger_unix.log</unix_log>
687 <min_children>1</min_children>
688 <max_children>15</max_children>
689 <min_spare_children>1</min_spare_children>
690 <max_spare_children>5</max_spare_children>
693 <!-- number of parallel open-ils.trigger processes to use for collection and reaction -->
703 <open-ils.url_verify>
704 <keepalive>5</keepalive>
705 <stateless>1</stateless>
706 <language>perl</language>
707 <implementation>OpenILS::Application::URLVerify</implementation>
708 <max_requests>199</max_requests>
710 <unix_sock>open-ils.url_verify_unix.sock</unix_sock>
711 <unix_pid>open-ils.url_verify_unix.pid</unix_pid>
712 <max_requests>1000</max_requests>
713 <unix_log>open-ils.url_verify_unix.log</unix_log>
714 <min_children>1</min_children>
715 <max_children>15</max_children>
716 <min_spare_children>1</min_spare_children>
717 <max_spare_children>5</max_spare_children>
720 <user_agent>Evergreen %s Link Checker</user_agent>
722 </open-ils.url_verify>
725 <keepalive>3</keepalive>
726 <stateless>1</stateless>
727 <language>c</language>
728 <implementation>osrf_math.so</implementation>
730 <unix_sock>opensrf.math_unix.sock</unix_sock>
731 <unix_pid>opensrf.math_unix.pid</unix_pid>
732 <max_requests>1000</max_requests>
733 <unix_log>opensrf.math_unix.log</unix_log>
734 <min_children>1</min_children>
735 <max_children>15</max_children>
736 <min_spare_children>1</min_spare_children>
737 <max_spare_children>5</max_spare_children>
742 <keepalive>3</keepalive>
743 <stateless>1</stateless>
744 <language>c</language>
745 <implementation>osrf_dbmath.so</implementation>
747 <max_requests>1000</max_requests>
748 <unix_log>opensrf.dbmath_unix.log</unix_log>
749 <unix_sock>opensrf.dbmath_unix.sock</unix_sock>
750 <unix_pid>opensrf.dbmath_unix.pid</unix_pid>
751 <min_children>1</min_children>
752 <max_children>15</max_children>
753 <min_spare_children>1</min_spare_children>
754 <max_spare_children>5</max_spare_children>
759 <keepalive>3</keepalive>
760 <stateless>1</stateless>
761 <language>perl</language>
762 <implementation>OpenILS::Application::Penalty</implementation>
763 <max_requests>99</max_requests>
765 <max_requests>1000</max_requests>
766 <unix_log>open-ils.penalty_unix.log</unix_log>
767 <unix_sock>open-ils.penalty_unix.sock</unix_sock>
768 <unix_pid>open-ils.penalty_unix.pid</unix_pid>
769 <min_children>1</min_children>
770 <max_children>15</max_children>
771 <min_spare_children>1</min_spare_children>
772 <max_spare_children>5</max_spare_children>
775 <patron_penalty>penalty/patron_penalty.js</patron_penalty>
776 <script_path>LIBDIR/javascript</script_path>
777 <script_path>LOCALSTATEDIR</script_path>
778 <script_path>LOCALSTATEDIR/catalog</script_path>
782 <open-ils.justintime>
783 <keepalive>5</keepalive>
784 <stateless>1</stateless>
785 <language>perl</language>
786 <implementation>OpenILS::Application::JustInTime</implementation>
787 <max_requests>199</max_requests>
789 <unix_sock>open-ils.justintime_unix.sock</unix_sock>
790 <unix_pid>open-ils.justintime_unix.pid</unix_pid>
791 <max_requests>1000</max_requests>
792 <unix_log>open-ils.justintime_unix.log</unix_log>
793 <min_children>1</min_children>
794 <max_children>15</max_children>
795 <min_spare_children>1</min_spare_children>
796 <max_spare_children>5</max_spare_children>
800 </open-ils.justintime>
803 <keepalive>3</keepalive>
804 <stateless>1</stateless>
805 <language>perl</language>
806 <implementation>OpenILS::Application::Circ</implementation>
807 <max_requests>99</max_requests>
809 <max_requests>1000</max_requests>
810 <unix_log>open-ils.circ_unix.log</unix_log>
811 <unix_sock>open-ils.circ_unix.sock</unix_sock>
812 <unix_pid>open-ils.circ_unix.pid</unix_pid>
813 <min_children>1</min_children>
814 <max_children>15</max_children>
815 <min_spare_children>1</min_spare_children>
816 <max_spare_children>5</max_spare_children>
820 <email>false</email> <!-- set to false to disable hold notice emails -->
823 <!-- circulation policy scripts -->
824 <script_path>LIBDIR/javascript</script_path>
825 <script_path>LOCALSTATEDIR</script_path>
826 <script_path>LOCALSTATEDIR/catalog</script_path>
827 <legacy_script_support>false</legacy_script_support>
829 <circ_permit_patron>circ/circ_permit_patron.js</circ_permit_patron>
830 <circ_permit_copy>circ/circ_permit_copy.js</circ_permit_copy>
831 <circ_duration>circ/circ_duration.js</circ_duration>
832 <circ_recurring_fines>circ/circ_recurring_fines.js</circ_recurring_fines>
833 <circ_max_fines>circ/circ_max_fines.js</circ_max_fines>
834 <circ_permit_renew>circ/circ_permit_renew.js</circ_permit_renew>
835 <circ_permit_hold>circ/circ_permit_hold.js</circ_permit_hold>
842 <keepalive>10</keepalive>
843 <stateless>1</stateless>
844 <language>perl</language>
845 <implementation>OpenILS::Application::Storage</implementation>
847 <max_requests>1000</max_requests>
848 <unix_log>open-ils.storage_unix.log</unix_log>
849 <unix_sock>open-ils.storage_unix.sock</unix_sock>
850 <unix_pid>open-ils.storage_unix.pid</unix_pid>
851 <min_children>1</min_children>
852 <max_children>10</max_children>
853 <min_spare_children>1</min_spare_children>
854 <max_spare_children>5</max_spare_children>
857 <script_path>LIBDIR/javascript/</script_path>
858 <script_path>LOCALSTATEDIR/catalog/</script_path>
860 <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
867 <user>postgres</user>
868 <host>localhost</host>
872 <client_encoding>UTF-8</client_encoding>
879 <keepalive>6</keepalive>
880 <stateless>1</stateless>
881 <language>C</language>
882 <implementation>oils_cstore.so</implementation>
884 <max_requests>1000</max_requests>
885 <min_children>1</min_children>
886 <max_children>15</max_children>
887 <min_spare_children>1</min_spare_children>
888 <max_spare_children>5</max_spare_children>
891 <max_query_recursion>100</max_query_recursion>
892 <driver>pgsql</driver>
896 <user>postgres</user>
897 <host>localhost</host>
901 <client_encoding>UTF-8</client_encoding>
907 <keepalive>6</keepalive>
908 <migratable>1</migratable>
909 <stateless>1</stateless>
910 <language>C</language>
911 <implementation>oils_pcrud.so</implementation>
914 <unix_log>open-ils.pcrud.log</unix_log>
915 <unix_sock>open-ils.pcrud.sock</unix_sock>
916 <unix_pid>open-ils.pcrud.pid</unix_pid>
917 <max_requests>1000</max_requests>
918 <min_children>1</min_children>
919 <max_children>15</max_children>
920 <min_spare_children>1</min_spare_children>
921 <max_spare_children>5</max_spare_children>
925 <IDL>SYSCONFDIR/fm_IDL.xml</IDL>
926 <driver>pgsql</driver>
930 <user>postgres</user>
931 <host>localhost</host>
935 <client_encoding>UTF-8</client_encoding>
941 <keepalive>6</keepalive>
942 <stateless>1</stateless>
943 <language>C</language>
944 <implementation>oils_qstore.so</implementation>
946 <max_requests>1000</max_requests>
947 <min_children>1</min_children>
948 <max_children>15</max_children>
949 <min_spare_children>1</min_spare_children>
950 <max_spare_children>5</max_spare_children>
953 <driver>pgsql</driver>
957 <user>postgres</user>
958 <host>localhost</host>
962 <client_encoding>UTF-8</client_encoding>
968 <keepalive>1</keepalive>
969 <stateless>1</stateless>
970 <language>perl</language>
971 <implementation>OpenSRF::Application::Settings</implementation>
972 <max_requests>17</max_requests>
974 <unix_sock>opensrf.settings_unix.sock</unix_sock>
975 <unix_pid>opensrf.settings_unix.pid</unix_pid>
976 <max_requests>300</max_requests>
977 <unix_log>opensrf.settings_unix.log</unix_log>
978 <min_children>5</min_children>
979 <max_children>15</max_children>
980 <min_spare_children>3</min_spare_children>
981 <max_spare_children>5</max_spare_children>
985 <open-ils.collections>
986 <keepalive>3</keepalive>
987 <stateless>1</stateless>
988 <language>perl</language>
989 <implementation>OpenILS::Application::Collections</implementation>
990 <max_requests>17</max_requests>
992 <unix_sock>open-ils.collections_unix.sock</unix_sock>
993 <unix_pid>open-ils.collections_unix.pid</unix_pid>
994 <max_requests>1000</max_requests>
995 <unix_log>open-ils.collections_unix.log</unix_log>
996 <min_children>1</min_children>
997 <max_children>10</max_children>
998 <min_spare_children>1</min_spare_children>
999 <max_spare_children>5</max_spare_children>
1002 <!-- batch_file_dir must be a protected, web-accessible, shared directory -->
1003 <batch_file_dir>/openils/var/web/collections</batch_file_dir>
1005 </open-ils.collections>
1008 <keepalive>3</keepalive>
1009 <stateless>1</stateless>
1010 <language>perl</language>
1011 <implementation>OpenILS::Application::Reporter</implementation>
1012 <max_requests>99</max_requests>
1014 <unix_sock>open-ils.reporter_unix.sock</unix_sock>
1015 <unix_pid>open-ils.reporter_unix.pid</unix_pid>
1016 <max_requests>1000</max_requests>
1017 <unix_log>open-ils.reporter_unix.log</unix_log>
1018 <min_children>1</min_children>
1019 <max_children>10</max_children>
1020 <min_spare_children>1</min_spare_children>
1021 <max_spare_children>5</max_spare_children>
1023 </open-ils.reporter>
1025 <open-ils.reporter-store>
1026 <keepalive>6</keepalive>
1027 <stateless>1</stateless>
1028 <language>C</language>
1029 <implementation>oils_rstore.so</implementation>
1031 <max_requests>400</max_requests>
1032 <min_children>1</min_children>
1033 <max_children>10</max_children>
1034 <min_spare_children>1</min_spare_children>
1035 <max_spare_children>5</max_spare_children>
1038 <driver>pgsql</driver>
1042 <user>postgres</user>
1043 <host>localhost</host>
1047 <client_encoding>UTF-8</client_encoding>
1050 </open-ils.reporter-store>
1052 <!-- resolver_type defaults to sfx but can also be cufts -->
1055 <keepalive>3</keepalive>
1056 <stateless>1</stateless>
1057 <language>perl</language>
1058 <implementation>OpenILS::Application::ResolverResolver</implementation>
1059 <max_requests>93</max_requests>
1061 <unix_sock>open-ils.resolver_unix.sock</unix_sock>
1062 <unix_pid>open-ils.resolver_unix.pid</unix_pid>
1063 <max_requests>1000</max_requests>
1064 <unix_log>open-ils.resolver_unix.log</unix_log>
1065 <min_children>5</min_children>
1066 <max_children>15</max_children>
1067 <min_spare_children>3</min_spare_children>
1068 <max_spare_children>5</max_spare_children>
1071 <cache_timeout>86400</cache_timeout>
1072 <request_timeout>10</request_timeout>
1073 <default_url_base>http://path/to/sfx_or_cufts</default_url_base>
1074 <resolver_type>sfx</resolver_type>
1076 </open-ils.resolver>
1079 <open-ils.permacrud>
1080 <keepalive>3</keepalive>
1081 <stateless>1</stateless>
1082 <language>perl</language>
1083 <implementation>OpenILS::Application::PermaCrud</implementation>
1084 <max_requests>17</max_requests>
1086 <unix_sock>open-ils.permacrud_unix.sock</unix_sock>
1087 <unix_pid>open-ils.permacrud_unix.pid</unix_pid>
1088 <max_requests>1000</max_requests>
1089 <unix_log>open-ils.permacrud_unix.log</unix_log>
1090 <min_children>5</min_children>
1091 <max_children>15</max_children>
1092 <min_spare_children>3</min_spare_children>
1093 <max_spare_children>5</max_spare_children>
1095 </open-ils.permacrud>
1098 <keepalive>3</keepalive>
1099 <stateless>1</stateless>
1100 <language>perl</language>
1101 <implementation>OpenILS::Application::Fielder</implementation>
1102 <max_requests>17</max_requests>
1104 <unix_sock>open-ils.fielder_unix.sock</unix_sock>
1105 <unix_pid>open-ils.fielder_unix.pid</unix_pid>
1106 <max_requests>1000</max_requests>
1107 <unix_log>open-ils.fielder_unix.log</unix_log>
1108 <min_children>5</min_children>
1109 <max_children>15</max_children>
1110 <min_spare_children>3</min_spare_children>
1111 <max_spare_children>5</max_spare_children>
1116 <keepalive>5</keepalive>
1117 <stateless>1</stateless>
1118 <language>perl</language>
1119 <implementation>OpenILS::Application::Vandelay</implementation>
1120 <max_requests>100</max_requests>
1122 <unix_sock>vandelay_unix.sock</unix_sock>
1123 <unix_pid>vandelay_unix.pid</unix_pid>
1124 <unix_log>vandelay_unix.log</unix_log>
1125 <max_requests>100</max_requests>
1126 <min_children>1</min_children>
1127 <max_children>15</max_children>
1128 <min_spare_children>1</min_spare_children>
1129 <max_spare_children>5</max_spare_children>
1133 <!-- temporary location for MARC import files.
1134 Files will be deleted after records are spooled.
1135 *note: in a multi-brick environment, this will need to
1136 be on a write-able NFS share. -->
1137 <importer>/tmp</importer>
1140 </open-ils.vandelay>
1143 <keepalive>3</keepalive>
1144 <stateless>1</stateless>
1145 <language>perl</language>
1146 <implementation>OpenILS::Application::Serial</implementation>
1147 <max_requests>17</max_requests>
1149 <unix_sock>open-ils.serial_unix.sock</unix_sock>
1150 <unix_pid>open-ils.serial_unix.pid</unix_pid>
1151 <max_requests>1000</max_requests>
1152 <unix_log>open-ils.serial_unix.log</unix_log>
1153 <min_children>5</min_children>
1154 <max_children>15</max_children>
1155 <min_spare_children>3</min_spare_children>
1156 <max_spare_children>5</max_spare_children>
1169 Should match the fully qualified domain name of the host.
1171 On Linux, the output of the following command is authoritative:
1172 $ perl -MNet::Domain -e 'print Net::Domain::hostfqdn() . "\n";'
1174 To use 'localhost' instead, run osrf_control with the 'localhost' flag
1178 <!-- services hosted on this machine -->
1179 <appname>opensrf.settings</appname>
1180 <appname>opensrf.math</appname>
1181 <appname>opensrf.dbmath</appname>
1182 <appname>open-ils.acq</appname>
1183 <appname>open-ils.booking</appname>
1184 <appname>open-ils.cat</appname>
1185 <appname>open-ils.supercat</appname>
1186 <appname>open-ils.search</appname>
1187 <appname>open-ils.circ</appname>
1188 <appname>open-ils.actor</appname>
1189 <appname>open-ils.auth</appname>
1190 <appname>open-ils.auth_proxy</appname>
1191 <appname>open-ils.storage</appname>
1192 <appname>open-ils.penalty</appname>
1193 <appname>open-ils.justintime</appname>
1194 <appname>open-ils.cstore</appname>
1195 <appname>open-ils.collections</appname>
1196 <appname>open-ils.reporter</appname>
1197 <appname>open-ils.reporter-store</appname>
1198 <!-- <appname>open-ils.resolver</appname> -->
1199 <appname>open-ils.permacrud</appname>
1200 <appname>open-ils.pcrud</appname>
1201 <appname>open-ils.trigger</appname>
1202 <appname>open-ils.url_verify</appname>
1203 <appname>open-ils.fielder</appname>
1204 <appname>open-ils.vandelay</appname>
1205 <appname>open-ils.serial</appname>