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>
177 <!-- Number of reports that can be processed simultaneously. This
178 value can overriden by the -c/-concurrency command-line switch
181 <parallel>1</parallel>
182 <!-- Maximum number of rows in the query results allowed before
183 Clark will refuse to draw a pie, bar, or line chart. This
184 value can be overriden by the -max-rows-for-charts command-line
185 switch of clark-kent.pl.
187 <max_rows_for_charts>1000</max_rows_for_charts>
188 <!-- Maximum amount of time (in minutes) that an SQL query initiated
189 by Clark Kent will be allowed to run before it is terminated.
190 This value can be overriden by the -statement-timeout
191 command-line switch of clark-kent.pl.
193 <statement_timeout>60</statement_timeout>
194 <!-- Maximum number of results permitted. If set to a numeric value,
195 Clark will limit the number of rows returned by report queries
196 to this value. Note that it will not be apparent to a user
197 running a report from the staff interface that their report
198 has been limited in this fashion. This setting can be
199 overriden by the -resultset-limit command-line switch of
202 A value of 0 means that no limit should be set.
204 <resultset_limit>1048575</resultset_limit>
211 <!-- XML-RPC gateway. Do NOT publish unprotected services here -->
213 <!-- list of published services -->
214 <service>opensrf.math</service>
215 <service>opensrf.dbmath</service>
216 <service>open-ils.cat</service>
217 <service>open-ils.search</service>
218 <service>open-ils.circ</service>
219 <service>open-ils.actor</service>
220 <service>open-ils.auth</service>
221 <service>open-ils.auth_proxy</service>
222 <service>open-ils.collections</service>
223 <service>open-ils.justintime</service>
228 Once upon a time, Z39.50 servers were defined here. As of Evergreen 2.2,
229 they are now defined in the database. See the Release Notes for
230 instructions on mapping the old XML entries to database tables.
234 <!-- load the OpenLibrary added content module -->
235 <module>OpenILS::WWW::AddedContent::OpenLibrary</module>
238 Max number of seconds to wait for an added content request to
239 return data. Data not returned within the timeout is considered
242 Note that the pool of Apache processes used by the AddedContent
243 module is the same pool used by core Evergreen processes such as
244 search, circulation, etc. Therefore, the higher you set this
245 timeout value, the more likely you are to run out of available
246 Apache processes resulting in an accidental (or purposeful) denial
247 of service - particularly if the added content server starts
248 responding abnormally slowly.
250 The safest option is to disable the AddedContent module completely,
251 but 3 seconds is a compromise between the threat of a denial of
252 service and the enhanced user experience offered by successful added
258 After added content lookups have been disabled due to too many
259 lookup failures, this is the amount of time to wait before
262 <retry_timeout>600</retry_timeout>
265 maximum number of consecutive lookup errors a given process can
266 have before added content lookups are disabled for everyone
268 <max_errors>15</max_errors>
270 <!-- If a userid is required to access the added content.. -->
271 <userid>MY_USER_ID</userid>
274 Base URL for Amazon added content fetching. Not needed by OpenLibrary
275 <base_url>http://images.amazon.com/images/P/</base_url>
279 Segregating the details for ContentCafe out for easier use. At some point, we
280 may want to support multiple services at one time.
283 <userid>MY_USER_ID</userid>
284 <password>MY_PASSWORD</password>
287 Which order to put identifiers in.
288 Default is "isbn,upc", ignoring currently unsupported issn.
289 Should be all lowercase.
290 Remove an identifier from the list to skip it.
292 <identifier_order>isbn,upc</identifier_order>
297 You can add free-form settings here and they will be accessible
298 within the added content module
303 <!-- Config section for acq_order_reader.pl script.
304 It reads MARC order record files from disk (presumably
305 an FTP destination) and pushes the order records into ACQ.
309 <!-- Root directory for all FTP'd ACQ order record files .
310 If the script is configured to talk to a remote acq server,
311 this directory has to be a read/write NFS share. -->
312 <base_dir>/openils/var/data/acq_orders/</base_dir>
314 <!-- any files found in the shared subdir must be inspected
315 (e.g. file name prefix) to determine the provider. -->
316 <shared_subdir>ALL</shared_subdir><!-- SUPPORT PENDING -->
318 <!-- providers that don't provide a mechanism to inspect the file
319 have to push their files to provider-specific locations -->
321 <ordering_agency>BR1</ordering_agency> <!-- who gets/manages the order -->
322 <provider_code>BAB</provider_code>
323 <provider_owner>CONS</provider_owner> <!-- provider provider_owner; org unit shortname -->
324 <subdir>CONS-BAB</subdir> <!-- file directory; full path = base_dir + subdir -->
325 <activate_po>false</activate_po> <!-- activate PO at upload? -->
327 <import_no_match>true</import_no_match>
328 <!-- Most Vandelay options are supported. For bools, use true/false.
337 auto_overlay_best_match
342 <!-- Add more as needed...
351 <!-- no apps are enabled globally by default -->
355 <!-- memcache servers -->
358 <server>127.0.0.1:11211</server>
360 <max_cache_time>86400</max_cache_time>
363 <!-- anonymous cache. currently, primarily used for web session caching -->
365 <server>127.0.0.1:11211</server>
367 <max_cache_time>1800</max_cache_time>
368 <!-- maximum size of a single cache entry / default = 100k-->
369 <max_cache_size>102400</max_cache_size>
374 <!-- Acquisitions server -->
376 <!-- how long to wait between stateful requests before the child process re-joins the pool -->
377 <keepalive>5</keepalive>
378 <!-- true if this service support stateless requests -->
379 <stateless>1</stateless>
380 <!-- implementation language -->
381 <language>perl</language>
382 <!-- name of the library that implements this application -->
383 <implementation>OpenILS::Application::Acq</implementation>
384 <!-- maximum OpenSRF REQUEST within a stateful connection -->
385 <max_requests>100</max_requests>
388 maximum number of top level requests coming to
389 this child before the child is recycled
391 <max_requests>100</max_requests>
392 <!-- min children to fork -->
393 <min_children>1</min_children>
394 <!-- max possible children to fork -->
395 <max_children>15</max_children>
397 C forking implementation does not support
398 min/max idle children, but may in the future
401 <!-- min idle children -->
402 <min_spare_children>1</min_spare_children>
403 <!-- max idle children -->
404 <max_spare_children>5</max_spare_children>
405 <!-- currently, only Perl uses the following 3 settings -->
406 <unix_sock>open-ils.acq_unix.sock</unix_sock>
407 <unix_pid>open-ils.acq_unix.pid</unix_pid>
408 <unix_log>open-ils.acq_unix.log</unix_log>
412 <!-- Authentication server -->
414 <keepalive>5</keepalive>
415 <stateless>1</stateless>
416 <language>c</language>
417 <implementation>oils_auth.so</implementation>
419 <max_requests>1000</max_requests>
420 <min_children>1</min_children>
421 <max_children>15</max_children>
422 <min_spare_children>1</min_spare_children>
423 <max_spare_children>5</max_spare_children>
426 <!-- defined app-specific settings here -->
428 <!-- default login timeouts based on login type -->
432 <persist>2 weeks</persist>
435 <seed>30</seed> <!-- amount of time a seed request is valid for -->
436 <block_time>90</block_time> <!-- amount of time since last auth or seed request to save failure counts -->
437 <block_count>10</block_count> <!-- number of failures before blocking access -->
442 <!-- Authentication proxy server -->
443 <open-ils.auth_proxy>
444 <keepalive>5</keepalive>
445 <stateless>1</stateless>
446 <language>perl</language>
447 <implementation>OpenILS::Application::AuthProxy</implementation>
448 <max_requests>93</max_requests>
451 <max_requests>1000</max_requests>
452 <unix_log>open-ils.auth-proxy_unix.log</unix_log>
453 <unix_sock>open-ils.auth-proxy_unix.sock</unix_sock>
454 <unix_pid>open-ils.auth-proxy_unix.pid</unix_pid>
455 <min_children>1</min_children>
456 <max_children>15</max_children>
457 <min_spare_children>1</min_spare_children>
458 <max_spare_children>5</max_spare_children>
462 <!-- 'enabled' is the master switch; set to 'true' to enable proxied logins -->
463 <enabled>false</enabled>
465 <!-- the following is a sample configuration for the LDAP_Auth module; please adjust as needed -->
469 <module>OpenILS::Application::AuthProxy::LDAP_Auth</module>
470 <hostname>name.domain.com</hostname>
471 <basedn>ou=people,dc=domain,dc=com</basedn>
472 <authid>cn=username,ou=specials,dc=domain,dc=com</authid>
473 <id_attr>uid</id_attr>
474 <password>my_ldap_password_for_authid_user</password>
486 <!-- 'native' is a proxied version of Evergreen's standard authentication -->
489 <!-- you can add 'login_types' and 'org_units' limits to this authenticator as well, if needed -->
493 </open-ils.auth_proxy>
495 <!-- Generic search server -->
497 <keepalive>5</keepalive>
498 <stateless>1</stateless>
499 <language>perl</language>
500 <implementation>OpenILS::Application::Search</implementation>
501 <max_requests>93</max_requests>
503 <unix_sock>open-ils.search_unix.sock</unix_sock>
504 <unix_pid>open-ils.search_unix.pid</unix_pid>
505 <unix_log>open-ils.search_unix.log</unix_log>
507 <max_requests>1000</max_requests>
508 <min_children>1</min_children>
509 <max_children>15</max_children>
510 <min_spare_children>1</min_spare_children>
511 <max_spare_children>5</max_spare_children>
514 <marc_html_xsl>oilsMARC21slim2HTML.xsl</marc_html_xsl>
515 <marc_html_xsl_slim>oilsMARC21slim2HTMLslim.xsl</marc_html_xsl_slim>
517 <spelling_dictionary>
519 Optionally configure different dictionaries depending on search context.
520 If no dictionaries are defined, the default Aspell dictionary is used.
523 <default>LOCALSTATEDIR/data/default_dict.txt</default>
524 <title>LOCALSTATEDIR/data/title_dict.txt</title>
525 <author>LOCALSTATEDIR/data/author_dict.txt</author>
526 <subject>LOCALSTATEDIR/data/subject_dict.txt</subject>
527 <series>LOCALSTATEDIR/data/series_dict.txt</series>
529 </spelling_dictionary>
531 <!-- Default to using staged search -->
532 <use_staged_search>true</use_staged_search>
535 For staged search, we estimate hits based on inclusion or exclusion.
538 inclusion - visible ratio on superpage
539 exclusion - excluded ratio on superpage
540 delete_adjusted_inclusion - included ratio on superpage, ratio adjusted by deleted count
541 delete_adjusted_exclusion - excluded ratio on superpage, ratio adjusted by deleted count
543 Under normal circumstances, inclusion is the best strategy, and both delete_adjusted variants
544 will return the same value +/- 1. The exclusion strategy is the original, and works well
545 when there are few deleted or excluded records, in other words, when the superpage is not
546 sparsely populated with visible records.
548 <estimation_strategy>inclusion</estimation_strategy>
551 Evergreen uses a cover density algorithm for calculating relative ranking of matches. There
552 are several tuning parameters and options available. By default, no document length normalization
553 is applied. From the Postgres documentation on ts_rank_cd() (the function used by Evergreen):
555 Since a longer document has a greater chance of containing a query term it is reasonable
556 to take into account document size, e.g., a hundred-word document with five instances of
557 a search word is probably more relevant than a thousand-word document with five instances.
558 Both ranking functions take an integer normalization option that specifies whether and how
559 a document's length should impact its rank. The integer option controls several behaviors,
560 so it is a bit mask: you can specify one or more behaviors using | (for example, 2|4).
562 0 (the default) ignores the document length
564 1 divides the rank by 1 + the logarithm of the document length
566 2 divides the rank by the document length
568 4 divides the rank by the mean harmonic distance between extents (this is implemented only by ts_rank_cd)
570 8 divides the rank by the number of unique words in document
572 16 divides the rank by 1 + the logarithm of the number of unique words in document
574 32 divides the rank by itself + 1
576 If more than one flag bit is specified, the transformations are applied in the order listed.
578 It is important to note that the ranking functions do not use any global information, so it
579 is impossible to produce a fair normalization to 1% or 100% as sometimes desired. Normalization
580 option 32 (rank/(rank+1)) can be applied to scale all ranks into the range zero to one, but of
581 course this is just a cosmetic change; it will not affect the ordering of the search results.
583 In Evergreen, these options are set via search modifiers. The modifiers are mapped in the
586 * #CD_logDocumentLength => 1 :: rank / (1 + LOG(total_word_count)) :: Longer documents slightly less relevant
587 * #CD_documentLength => 2 :: rank / total_word_count :: Longer documents much less relevant
588 * #CD_meanHarmonic => 4 :: Word Proximity :: Greater matched-word distance is less relevant
589 * #CD_uniqueWords => 8 :: rank / unique_word_count :: Documents with repeated words much less relevant
590 * #CD_logUniqueWords => 16 :: rank / (1 + LOG(unique_word_count)) :: Documents with repeated words slightly less relevant
591 * #CD_selfPlusOne => 32 :: rank / (1 + rank) :: Cosmetic normalization of rank value between 0 and 1
593 Adding one or more of these to the default_CD_modifiers list will cause all searches that use QueryParser to apply them.
595 <default_CD_modifiers>#CD_documentLength #CD_meanHarmonic #CD_uniqueWords</default_CD_modifiers>
598 default_preferred_language
599 Set the global, default preferred languange
601 <default_preferred_language>eng</default_preferred_language>
604 default_preferred_language_weight
605 Set the weight (higher is "better") for the preferred language. Comment out to remove all lanuage weighting by default.
607 <default_preferred_language_weight>5</default_preferred_language_weight>
609 <!-- Baseline number of records to check for hit estimation. -->
610 <superpage_size>1000</superpage_size>
612 <!-- How many superpages to consider for searching overall. -->
613 <max_superpages>10</max_superpages>
615 <!-- zip code database file -->
616 <!--<zips_file>LOCALSTATEDIR/data/zips.txt</zips_file>-->
620 <!-- server for accessing user info -->
622 <keepalive>5</keepalive>
623 <stateless>1</stateless>
624 <language>perl</language>
625 <implementation>OpenILS::Application::Actor</implementation>
626 <max_requests>93</max_requests>
628 <unix_sock>open-ils.actor_unix.sock</unix_sock>
629 <unix_pid>open-ils.actor_unix.pid</unix_pid>
630 <max_requests>1000</max_requests>
631 <unix_log>open-ils.actor_unix.log</unix_log>
632 <min_children>1</min_children>
633 <max_children>15</max_children>
634 <min_spare_children>1</min_spare_children>
635 <max_spare_children>5</max_spare_children>
637 <!-- set this to 'true' to have barcode search also search patron records by unique ID -->
639 <id_as_barcode>false</id_as_barcode>
645 <keepalive>5</keepalive>
646 <stateless>1</stateless>
647 <language>perl</language>
648 <implementation>OpenILS::Application::Booking</implementation>
649 <max_requests>199</max_requests>
651 <unix_sock>open-ils.booking_unix.sock</unix_sock>
652 <unix_pid>open-ils.booking_unix.pid</unix_pid>
653 <max_requests>1000</max_requests>
654 <unix_log>open-ils.booking_unix.log</unix_log>
655 <min_children>1</min_children>
656 <max_children>15</max_children>
657 <min_spare_children>1</min_spare_children>
658 <max_spare_children>5</max_spare_children>
665 <keepalive>5</keepalive>
666 <stateless>1</stateless>
667 <language>perl</language>
668 <implementation>OpenILS::Application::Cat</implementation>
669 <max_requests>199</max_requests>
671 <unix_sock>open-ils.cat_unix.sock</unix_sock>
672 <unix_pid>open-ils.cat_unix.pid</unix_pid>
673 <max_requests>1000</max_requests>
674 <unix_log>open-ils.cat_unix.log</unix_log>
675 <min_children>1</min_children>
676 <max_children>15</max_children>
677 <min_spare_children>1</min_spare_children>
678 <max_spare_children>5</max_spare_children>
682 <K_book>LOCALSTATEDIR/templates/marc/k_book.xml</K_book>
688 <keepalive>5</keepalive>
689 <stateless>1</stateless>
690 <language>perl</language>
691 <implementation>OpenILS::Application::SuperCat</implementation>
692 <max_requests>199</max_requests>
694 <unix_sock>open-ils.supercat_unix.sock</unix_sock>
695 <unix_pid>open-ils.supercat_unix.pid</unix_pid>
696 <max_requests>1000</max_requests>
697 <unix_log>open-ils.supercat_unix.log</unix_log>
698 <min_children>1</min_children>
699 <max_children>15</max_children>
700 <min_spare_children>1</min_spare_children>
701 <max_spare_children>5</max_spare_children>
705 <!-- server for accessing user info -->
707 <keepalive>5</keepalive>
708 <stateless>1</stateless>
709 <language>perl</language>
710 <implementation>OpenILS::Application::Trigger</implementation>
711 <max_requests>93</max_requests>
713 <unix_sock>open-ils.trigger_unix.sock</unix_sock>
714 <unix_pid>open-ils.trigger_unix.pid</unix_pid>
715 <max_requests>1000</max_requests>
716 <unix_log>open-ils.trigger_unix.log</unix_log>
717 <min_children>1</min_children>
718 <max_children>15</max_children>
719 <min_spare_children>1</min_spare_children>
720 <max_spare_children>5</max_spare_children>
723 <!-- number of parallel open-ils.trigger processes to use for collection and reaction -->
733 <open-ils.url_verify>
734 <keepalive>5</keepalive>
735 <stateless>1</stateless>
736 <language>perl</language>
737 <implementation>OpenILS::Application::URLVerify</implementation>
738 <max_requests>199</max_requests>
740 <unix_sock>open-ils.url_verify_unix.sock</unix_sock>
741 <unix_pid>open-ils.url_verify_unix.pid</unix_pid>
742 <max_requests>1000</max_requests>
743 <unix_log>open-ils.url_verify_unix.log</unix_log>
744 <min_children>1</min_children>
745 <max_children>15</max_children>
746 <min_spare_children>1</min_spare_children>
747 <max_spare_children>5</max_spare_children>
750 <user_agent>Evergreen %s Link Checker</user_agent>
752 </open-ils.url_verify>
755 <keepalive>3</keepalive>
756 <stateless>1</stateless>
757 <language>c</language>
758 <implementation>osrf_math.so</implementation>
760 <unix_sock>opensrf.math_unix.sock</unix_sock>
761 <unix_pid>opensrf.math_unix.pid</unix_pid>
762 <max_requests>1000</max_requests>
763 <unix_log>opensrf.math_unix.log</unix_log>
764 <min_children>1</min_children>
765 <max_children>15</max_children>
766 <min_spare_children>1</min_spare_children>
767 <max_spare_children>5</max_spare_children>
772 <keepalive>3</keepalive>
773 <stateless>1</stateless>
774 <language>c</language>
775 <implementation>osrf_dbmath.so</implementation>
777 <max_requests>1000</max_requests>
778 <unix_log>opensrf.dbmath_unix.log</unix_log>
779 <unix_sock>opensrf.dbmath_unix.sock</unix_sock>
780 <unix_pid>opensrf.dbmath_unix.pid</unix_pid>
781 <min_children>1</min_children>
782 <max_children>15</max_children>
783 <min_spare_children>1</min_spare_children>
784 <max_spare_children>5</max_spare_children>
789 <keepalive>3</keepalive>
790 <stateless>1</stateless>
791 <language>perl</language>
792 <implementation>OpenILS::Application::Penalty</implementation>
793 <max_requests>99</max_requests>
795 <max_requests>1000</max_requests>
796 <unix_log>open-ils.penalty_unix.log</unix_log>
797 <unix_sock>open-ils.penalty_unix.sock</unix_sock>
798 <unix_pid>open-ils.penalty_unix.pid</unix_pid>
799 <min_children>1</min_children>
800 <max_children>15</max_children>
801 <min_spare_children>1</min_spare_children>
802 <max_spare_children>5</max_spare_children>
805 <patron_penalty>penalty/patron_penalty.js</patron_penalty>
806 <script_path>LIBDIR/javascript</script_path>
807 <script_path>LOCALSTATEDIR</script_path>
808 <script_path>LOCALSTATEDIR/catalog</script_path>
812 <open-ils.justintime>
813 <keepalive>5</keepalive>
814 <stateless>1</stateless>
815 <language>perl</language>
816 <implementation>OpenILS::Application::JustInTime</implementation>
817 <max_requests>199</max_requests>
819 <unix_sock>open-ils.justintime_unix.sock</unix_sock>
820 <unix_pid>open-ils.justintime_unix.pid</unix_pid>
821 <max_requests>1000</max_requests>
822 <unix_log>open-ils.justintime_unix.log</unix_log>
823 <min_children>1</min_children>
824 <max_children>15</max_children>
825 <min_spare_children>1</min_spare_children>
826 <max_spare_children>5</max_spare_children>
830 </open-ils.justintime>
833 <keepalive>3</keepalive>
834 <stateless>1</stateless>
835 <language>perl</language>
836 <implementation>OpenILS::Application::Circ</implementation>
837 <max_requests>99</max_requests>
839 <max_requests>1000</max_requests>
840 <unix_log>open-ils.circ_unix.log</unix_log>
841 <unix_sock>open-ils.circ_unix.sock</unix_sock>
842 <unix_pid>open-ils.circ_unix.pid</unix_pid>
843 <min_children>1</min_children>
844 <max_children>15</max_children>
845 <min_spare_children>1</min_spare_children>
846 <max_spare_children>5</max_spare_children>
850 <email>false</email> <!-- set to false to disable hold notice emails -->
853 <!-- circulation policy scripts -->
854 <script_path>LIBDIR/javascript</script_path>
855 <script_path>LOCALSTATEDIR</script_path>
856 <script_path>LOCALSTATEDIR/catalog</script_path>
857 <legacy_script_support>false</legacy_script_support>
859 <circ_permit_patron>circ/circ_permit_patron.js</circ_permit_patron>
860 <circ_permit_copy>circ/circ_permit_copy.js</circ_permit_copy>
861 <circ_duration>circ/circ_duration.js</circ_duration>
862 <circ_recurring_fines>circ/circ_recurring_fines.js</circ_recurring_fines>
863 <circ_max_fines>circ/circ_max_fines.js</circ_max_fines>
864 <circ_permit_renew>circ/circ_permit_renew.js</circ_permit_renew>
865 <circ_permit_hold>circ/circ_permit_hold.js</circ_permit_hold>
872 <keepalive>10</keepalive>
873 <stateless>1</stateless>
874 <language>perl</language>
875 <implementation>OpenILS::Application::Storage</implementation>
877 <max_requests>1000</max_requests>
878 <unix_log>open-ils.storage_unix.log</unix_log>
879 <unix_sock>open-ils.storage_unix.sock</unix_sock>
880 <unix_pid>open-ils.storage_unix.pid</unix_pid>
881 <min_children>1</min_children>
882 <max_children>10</max_children>
883 <min_spare_children>1</min_spare_children>
884 <max_spare_children>5</max_spare_children>
887 <script_path>LIBDIR/javascript/</script_path>
888 <script_path>LOCALSTATEDIR/catalog/</script_path>
890 <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
897 <user>postgres</user>
898 <host>localhost</host>
902 <client_encoding>UTF-8</client_encoding>
909 <keepalive>6</keepalive>
910 <stateless>1</stateless>
911 <language>C</language>
912 <implementation>oils_cstore.so</implementation>
914 <max_requests>1000</max_requests>
915 <min_children>1</min_children>
916 <max_children>15</max_children>
917 <min_spare_children>1</min_spare_children>
918 <max_spare_children>5</max_spare_children>
921 <max_query_recursion>100</max_query_recursion>
922 <driver>pgsql</driver>
926 <user>postgres</user>
927 <host>localhost</host>
931 <client_encoding>UTF-8</client_encoding>
937 <keepalive>6</keepalive>
938 <migratable>1</migratable>
939 <stateless>1</stateless>
940 <language>C</language>
941 <implementation>oils_pcrud.so</implementation>
944 <unix_log>open-ils.pcrud.log</unix_log>
945 <unix_sock>open-ils.pcrud.sock</unix_sock>
946 <unix_pid>open-ils.pcrud.pid</unix_pid>
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>
955 <IDL>SYSCONFDIR/fm_IDL.xml</IDL>
956 <driver>pgsql</driver>
960 <user>postgres</user>
961 <host>localhost</host>
965 <client_encoding>UTF-8</client_encoding>
971 <keepalive>6</keepalive>
972 <stateless>1</stateless>
973 <language>C</language>
974 <implementation>oils_qstore.so</implementation>
976 <max_requests>1000</max_requests>
977 <min_children>1</min_children>
978 <max_children>15</max_children>
979 <min_spare_children>1</min_spare_children>
980 <max_spare_children>5</max_spare_children>
983 <driver>pgsql</driver>
987 <user>postgres</user>
988 <host>localhost</host>
992 <client_encoding>UTF-8</client_encoding>
998 <keepalive>1</keepalive>
999 <stateless>1</stateless>
1000 <language>perl</language>
1001 <implementation>OpenSRF::Application::Settings</implementation>
1002 <max_requests>17</max_requests>
1004 <unix_sock>opensrf.settings_unix.sock</unix_sock>
1005 <unix_pid>opensrf.settings_unix.pid</unix_pid>
1006 <max_requests>300</max_requests>
1007 <unix_log>opensrf.settings_unix.log</unix_log>
1008 <min_children>5</min_children>
1009 <max_children>15</max_children>
1010 <min_spare_children>3</min_spare_children>
1011 <max_spare_children>5</max_spare_children>
1015 <open-ils.collections>
1016 <keepalive>3</keepalive>
1017 <stateless>1</stateless>
1018 <language>perl</language>
1019 <implementation>OpenILS::Application::Collections</implementation>
1020 <max_requests>17</max_requests>
1022 <unix_sock>open-ils.collections_unix.sock</unix_sock>
1023 <unix_pid>open-ils.collections_unix.pid</unix_pid>
1024 <max_requests>1000</max_requests>
1025 <unix_log>open-ils.collections_unix.log</unix_log>
1026 <min_children>1</min_children>
1027 <max_children>10</max_children>
1028 <min_spare_children>1</min_spare_children>
1029 <max_spare_children>5</max_spare_children>
1032 <!-- batch_file_dir must be a protected, web-accessible, shared directory -->
1033 <batch_file_dir>/openils/var/web/collections</batch_file_dir>
1035 </open-ils.collections>
1038 <keepalive>3</keepalive>
1039 <stateless>1</stateless>
1040 <language>perl</language>
1041 <implementation>OpenILS::Application::Reporter</implementation>
1042 <max_requests>99</max_requests>
1044 <unix_sock>open-ils.reporter_unix.sock</unix_sock>
1045 <unix_pid>open-ils.reporter_unix.pid</unix_pid>
1046 <max_requests>1000</max_requests>
1047 <unix_log>open-ils.reporter_unix.log</unix_log>
1048 <min_children>1</min_children>
1049 <max_children>10</max_children>
1050 <min_spare_children>1</min_spare_children>
1051 <max_spare_children>5</max_spare_children>
1053 </open-ils.reporter>
1055 <open-ils.reporter-store>
1056 <keepalive>6</keepalive>
1057 <stateless>1</stateless>
1058 <language>C</language>
1059 <implementation>oils_rstore.so</implementation>
1061 <max_requests>400</max_requests>
1062 <min_children>1</min_children>
1063 <max_children>10</max_children>
1064 <min_spare_children>1</min_spare_children>
1065 <max_spare_children>5</max_spare_children>
1068 <driver>pgsql</driver>
1072 <user>postgres</user>
1073 <host>localhost</host>
1077 <client_encoding>UTF-8</client_encoding>
1080 </open-ils.reporter-store>
1082 <!-- resolver_type defaults to sfx but can also be cufts -->
1085 <keepalive>3</keepalive>
1086 <stateless>1</stateless>
1087 <language>perl</language>
1088 <implementation>OpenILS::Application::ResolverResolver</implementation>
1089 <max_requests>93</max_requests>
1091 <unix_sock>open-ils.resolver_unix.sock</unix_sock>
1092 <unix_pid>open-ils.resolver_unix.pid</unix_pid>
1093 <max_requests>1000</max_requests>
1094 <unix_log>open-ils.resolver_unix.log</unix_log>
1095 <min_children>5</min_children>
1096 <max_children>15</max_children>
1097 <min_spare_children>3</min_spare_children>
1098 <max_spare_children>5</max_spare_children>
1101 <cache_timeout>86400</cache_timeout>
1102 <request_timeout>10</request_timeout>
1103 <default_url_base>http://path/to/sfx_or_cufts</default_url_base>
1104 <resolver_type>sfx</resolver_type>
1106 </open-ils.resolver>
1109 <open-ils.permacrud>
1110 <keepalive>3</keepalive>
1111 <stateless>1</stateless>
1112 <language>perl</language>
1113 <implementation>OpenILS::Application::PermaCrud</implementation>
1114 <max_requests>17</max_requests>
1116 <unix_sock>open-ils.permacrud_unix.sock</unix_sock>
1117 <unix_pid>open-ils.permacrud_unix.pid</unix_pid>
1118 <max_requests>1000</max_requests>
1119 <unix_log>open-ils.permacrud_unix.log</unix_log>
1120 <min_children>5</min_children>
1121 <max_children>15</max_children>
1122 <min_spare_children>3</min_spare_children>
1123 <max_spare_children>5</max_spare_children>
1125 </open-ils.permacrud>
1128 <keepalive>3</keepalive>
1129 <stateless>1</stateless>
1130 <language>perl</language>
1131 <implementation>OpenILS::Application::Fielder</implementation>
1132 <max_requests>17</max_requests>
1134 <unix_sock>open-ils.fielder_unix.sock</unix_sock>
1135 <unix_pid>open-ils.fielder_unix.pid</unix_pid>
1136 <max_requests>1000</max_requests>
1137 <unix_log>open-ils.fielder_unix.log</unix_log>
1138 <min_children>5</min_children>
1139 <max_children>15</max_children>
1140 <min_spare_children>3</min_spare_children>
1141 <max_spare_children>5</max_spare_children>
1146 <keepalive>5</keepalive>
1147 <stateless>1</stateless>
1148 <language>perl</language>
1149 <implementation>OpenILS::Application::Vandelay</implementation>
1150 <max_requests>100</max_requests>
1152 <unix_sock>vandelay_unix.sock</unix_sock>
1153 <unix_pid>vandelay_unix.pid</unix_pid>
1154 <unix_log>vandelay_unix.log</unix_log>
1155 <max_requests>100</max_requests>
1156 <min_children>1</min_children>
1157 <max_children>15</max_children>
1158 <min_spare_children>1</min_spare_children>
1159 <max_spare_children>5</max_spare_children>
1163 <!-- temporary location for MARC import files.
1164 Files will be deleted after records are spooled.
1165 *note: in a multi-brick environment, this will need to
1166 be on a write-able NFS share. -->
1167 <importer>/tmp</importer>
1170 </open-ils.vandelay>
1173 <keepalive>3</keepalive>
1174 <stateless>1</stateless>
1175 <language>perl</language>
1176 <implementation>OpenILS::Application::Serial</implementation>
1177 <max_requests>17</max_requests>
1179 <unix_sock>open-ils.serial_unix.sock</unix_sock>
1180 <unix_pid>open-ils.serial_unix.pid</unix_pid>
1181 <max_requests>1000</max_requests>
1182 <unix_log>open-ils.serial_unix.log</unix_log>
1183 <min_children>5</min_children>
1184 <max_children>15</max_children>
1185 <min_spare_children>3</min_spare_children>
1186 <max_spare_children>5</max_spare_children>
1199 Should match the fully qualified domain name of the host.
1201 On Linux, the output of the following command is authoritative:
1202 $ perl -MNet::Domain -e 'print Net::Domain::hostfqdn() . "\n";'
1204 To use 'localhost' instead, run osrf_control with the 'localhost' flag
1208 <!-- services hosted on this machine -->
1209 <appname>opensrf.settings</appname>
1210 <appname>opensrf.math</appname>
1211 <appname>opensrf.dbmath</appname>
1212 <appname>open-ils.acq</appname>
1213 <appname>open-ils.booking</appname>
1214 <appname>open-ils.cat</appname>
1215 <appname>open-ils.supercat</appname>
1216 <appname>open-ils.search</appname>
1217 <appname>open-ils.circ</appname>
1218 <appname>open-ils.actor</appname>
1219 <appname>open-ils.auth</appname>
1220 <appname>open-ils.auth_proxy</appname>
1221 <appname>open-ils.storage</appname>
1222 <appname>open-ils.penalty</appname>
1223 <appname>open-ils.justintime</appname>
1224 <appname>open-ils.cstore</appname>
1225 <appname>open-ils.collections</appname>
1226 <appname>open-ils.reporter</appname>
1227 <appname>open-ils.reporter-store</appname>
1228 <!-- <appname>open-ils.resolver</appname> -->
1229 <appname>open-ils.permacrud</appname>
1230 <appname>open-ils.pcrud</appname>
1231 <appname>open-ils.trigger</appname>
1232 <appname>open-ils.url_verify</appname>
1233 <appname>open-ils.fielder</appname>
1234 <appname>open-ils.vandelay</appname>
1235 <appname>open-ils.serial</appname>