]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/examples/opensrf.xml.example
added support for using alternate context-specific spell-check dictionaries w/ sample...
[working/Evergreen.git] / Open-ILS / examples / opensrf.xml.example
1 <?xml version='1.0'?>
2
3 <!-- 
4 Example opensrf config file for OpenILS
5 vim:et:ts=4:sw=4:
6 -->
7
8 <opensrf version='0.0.3'>
9
10     <default>
11
12         <!-- unless otherwise overidden, use this locale -->
13         <default_locale>en-US</default_locale>
14
15         <dirs>
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         </dirs>
23
24         <!-- global data visibility settings -->
25         <share>
26             <user>
27                 <!-- Set to "true" to require patron opt-in for foreign (non-home_ou) transactions -->
28                 <opt_in>false</opt_in>
29             </user>
30         </share>
31
32         <IDL>SYSCONFDIR/fm_IDL.xml</IDL> <!-- top level IDL file -->
33
34         <server_type>prefork</server_type> <!-- net::server type -->
35
36         <ils_events>LOCALSTATEDIR/data/ils_events.xml</ils_events> <!-- ILS events description file -->
37
38         <email_notify> <!-- this will eventually move into the notifications section below... -->
39             <!-- global email notification settings -->
40             <template>LOCALSTATEDIR/data/hold_notification_template.example</template>
41             <smtp_server>localhost</smtp_server>
42
43             <!--
44             in most cases, this is overridden by location 
45             specific config settings.  this is just the default
46             -->
47             <sender_address>evergreen@localhost</sender_address>
48         </email_notify>
49
50
51       <notifications>
52         <!-- global mail server settings -->
53         <smtp_server>localhost</smtp_server>
54         <sender_address>evergreen@localhost</sender_address>
55
56         <!-- Overdue notices -->
57         <overdue>
58
59             <!-- optionally, you can define a sender address per notice type -->
60             <sender_address>overdue@localhost</sender_address>
61
62             <!-- The system can generate an XML file of overdue notices.  This is the
63                 directory where they are stored.  Files are named overdue.YYYY-MM-DD.xml -->
64             <notice_dir>LOCALSTATEDIR/data/overdue</notice_dir>
65             <combined_template>LOCALSTATEDIR/data/templates/overdue_combined_xml.example</combined_template>
66
67             <notice>
68                 <!-- Notify at 7 days overdue -->
69                 <notify_interval>7 days</notify_interval>
70                 <!-- Options include always, noemail, and never.  'noemail' means a notice
71                      will be appended to the notice file only if the patron has no valid email address.  -->
72                 <file_append>noemail</file_append>
73                 <!-- do we attempt email notification? -->
74                 <email_notify>true</email_notify>
75                 <!-- notice template file -->
76                 <email_template>LOCALSTATEDIR/data/templates/overdue_7day.example</email_template>
77             </notice>
78         </overdue>
79
80         <!-- Courtesy notices -->
81         <predue>
82             <notice>
83                 <!-- All circulations that circulate between 5 and 13 days -->
84                 <circ_duration_range>
85                     <from>5 days</from>
86                     <to>13 days</to>
87                 </circ_duration_range>
88                 <!-- notify at 1 day before the due date -->
89                 <notify_interval>1 day</notify_interval>
90                 <file_append>false</file_append>
91                 <email_notify>true</email_notify>
92                 <email_template>LOCALSTATEDIR/data/templates/predue_1day.example</email_template>
93             </notice>
94         </predue>
95       </notifications>
96
97         <reporter>
98             <!--
99             Settings for the reporter daemon process 
100             -->
101             <setup>
102                 <base_uri>https://localhost/reporter/</base_uri>
103                 <database>
104                     <driver>Pg</driver>
105                     <host>localhost</host>
106                     <port>5432</port>
107                     <db>evergreen</db>
108                     <user>postgres</user>
109                     <pw>postgres</pw>
110                 </database>
111                 <state_store>
112                     <driver>Pg</driver>
113                     <host>localhost</host>
114                     <port>5432</port>
115                     <db>evergreen</db>
116                     <user>postgres</user>
117                     <pw>postgres</pw>
118                 </state_store>
119                 <files>
120                     <!-- successful report outputs go here -->
121                     <output_base>LOCALSTATEDIR/web/reporter</output_base>
122                     <success_template>LOCALSTATEDIR/data/report-success</success_template>
123                     <fail_template>LOCALSTATEDIR/data/report-fail</fail_template>
124                 </files>
125             </setup>
126         </reporter>
127
128
129
130         <xml-rpc>
131             <!-- XML-RPC gateway.  Do NOT publish unprotected services here -->
132             <allowed_services>
133                 <!-- list of published services -->
134                 <service>opensrf.math</service>
135                 <service>opensrf.dbmath</service>
136                 <service>open-ils.cat</service>
137                 <service>open-ils.search</service>
138                 <service>open-ils.circ</service>
139                 <service>open-ils.actor</service>
140                 <service>open-ils.auth</service>
141                 <service>open-ils.collections</service>
142             </allowed_services>
143         </xml-rpc>
144
145
146         <z3950>
147             <default>biblios</default>
148             <services>
149                 <biblios>
150                     <!-- biblios does not require username/password -->
151                     <name>‡biblios.net</name>
152                     <host>z3950.biblios.net</host>
153                     <port>210</port>
154                     <db>bibliographic</db>
155                     <!-- fetch the full record with no holdings. FI is the most common choice -->
156                     <record_format>FI</record_format> 
157
158                     <!-- Record transmission format from the server.  Supported -->
159                     <!-- formats include usmarc and xml (for marcxml).         -->
160                     <transmission_format>usmarc</transmission_format> 
161
162                     <attrs>
163                         <tcn><code>12</code><format>1</format></tcn>
164                         <isbn><code>7</code><format>6</format></isbn>
165                         <lccn><code>9</code><format>1</format></lccn>
166                         <author><code>1003</code><format>6</format></author>
167                         <title><code>4</code><format>6</format></title>
168                         <issn><code>8</code><format>1</format></issn>
169                         <publisher><code>1018</code><format>6</format></publisher>
170                         <pubdate><code>31</code><format>1</format></pubdate>
171                         <item_type><code>1001</code><format>1</format></item_type>
172                     </attrs>
173                 </biblios>
174
175                 <loc>
176                     <!-- LoC does not require username/password -->
177                     <name>loc</name>
178                     <host>z3950.loc.gov</host>
179                     <port>7090</port>
180                     <db>Voyager</db>
181                     <!-- fetch the full record with no holdings. FI is the most common choice -->
182                     <record_format>FI</record_format> 
183
184                     <!-- Record transmission format from the server.  Supported -->
185                     <!-- formats include usmarc and xml (for marcxml).         -->
186                     <transmission_format>usmarc</transmission_format> 
187
188                     <attrs>
189                         <tcn><code>12</code><format>1</format></tcn>
190                         <isbn><code>7</code><format>6</format></isbn>
191                         <lccn><code>9</code><format>1</format></lccn>
192                         <author><code>1003</code><format>6</format></author>
193                         <title><code>4</code><format>6</format></title>
194                         <issn><code>8</code><format>1</format></issn>
195                         <publisher><code>1018</code><format>6</format></publisher>
196                         <pubdate><code>31</code><format>1</format></pubdate>
197                         <item_type><code>1001</code><format>1</format></item_type>
198                     </attrs>
199                 </loc>
200
201                 <oclc>
202                     <!-- Z3950 settings for OCLC.  Note that OCLC requires username/password -->
203                     <host>zcat.oclc.org</host>
204                     <port>210</port>
205                     <db>OLUCWorldCat</db>
206                     <attrs>
207                         <!--
208                         These are directly from the Bib-1 Attribute Set
209                         http://www.loc.gov/z3950/agency/defns/bib1.html
210                         <code> is the "use attribute", <format> is the "structure attribute"
211                         This just puts some friendly names on the data.
212                         -->
213                         <tcn><code>12</code><format>1</format></tcn>
214                         <isbn><code>7</code><format>6</format></isbn>
215                         <lccn><code>9</code><format>1</format></lccn>
216                         <author><code>1003</code><format>6</format></author>
217                         <title><code>4</code><format>6</format></title>
218                         <issn><code>8</code><format>1</format></issn>
219                         <publisher><code>1018</code><format>6</format></publisher>
220                         <pubdate><code>31</code><format>1</format></pubdate>
221                         <item_type><code>1001</code><format>1</format></item_type>
222                     </attrs>
223                 </oclc>
224
225             </services>
226         </z3950>
227
228
229         <added_content>
230
231             <!-- XXX If you use the Amazon plugin, you must link back to Amazon in the OPAC -->
232
233             <!-- load the Amazon added content module -->
234             <module>OpenILS::WWW::AddedContent::Amazon</module>
235             <!--
236             Base URL for Amazon added content fetching.  This URL may
237             need to be shortened when new (read: non-image) content 
238             fetching capabilities are added
239             -->
240             <base_url>http://images.amazon.com/images/P/</base_url>
241
242             <!--
243             Max number of seconds to wait for an added content request to 
244             return data.  Data not returned within the timeout is considered
245             a failure
246             -->
247             <timeout>1</timeout>
248
249             <!--
250             After added content lookups have been disabled due to too many
251             lookup failures, this is the amount of time to wait before
252             we try again
253             -->
254             <retry_timeout>600</retry_timeout>
255
256             <!--
257             maximum number of consecutive lookup errors a given process can 
258             have before added content lookups are disabled for everyone
259             -->
260             <max_errors>15</max_errors>
261
262             <!-- If a userid is required to access the added content.. -->
263             <userid>MY_USER_ID</userid>
264
265             <!--
266             You can add free-form settings here and they will be accessible
267             within the added content module
268             -->
269
270         </added_content>
271
272
273
274         <!-- no apps are enabled globally by default -->
275         <activeapps/> 
276
277         <cache>
278             <!-- memcache servers -->
279             <global>
280                 <servers>
281                     <server>localhost:11211</server>
282                 </servers>
283                 <max_cache_time>86400</max_cache_time>
284             </global>
285             <anon>
286                 <!-- anonymous cache.  currently, primarily used for web session caching -->
287                 <servers>
288                     <server>localhost:11211</server>
289                 </servers>
290                 <max_cache_time>1800</max_cache_time>
291                 <!-- maximum size of a single cache entry / default = 100k-->
292                 <max_cache_size>102400</max_cache_size>
293             </anon>
294         </cache>
295
296         <apps>
297             <!-- Acquisitions server -->
298             <open-ils.acq>
299                 <keepalive>5</keepalive>
300                 <stateless>1</stateless>
301                 <language>perl</language>
302                 <implementation>OpenILS::Application::Acq</implementation>
303                 <max_requests>100</max_requests>
304                 <unix_config>
305                     <unix_sock>open-ils.acq_unix.sock</unix_sock>
306                     <unix_pid>open-ils.acq_unix.pid</unix_pid>
307                     <unix_log>open-ils.acq_unix.log</unix_log>
308                     <max_requests>100</max_requests>
309                     <min_children>1</min_children>
310                     <max_children>15</max_children>
311                     <min_spare_children>1</min_spare_children>
312                     <max_spare_children>5</max_spare_children>
313                 </unix_config>
314             </open-ils.acq>
315
316             <!-- Authentication server -->
317             <open-ils.auth>
318
319                 <!-- how long to wait between stateful requests before the child process re-joins the pool -->
320                 <keepalive>5</keepalive>
321
322                 <!-- true if this service support stateless requests -->
323                 <stateless>1</stateless>
324
325                 <!-- implementation language -->
326                 <language>c</language>
327
328                 <!-- library to plugin -->
329                 <implementation>oils_auth.so</implementation>
330
331                 <!-- maximum required opensrf requests within a stateful connection -->
332                 <max_requests>93</max_requests>
333
334                 <unix_config>
335                     <!--
336                     maximum number of top level requests coming to 
337                     this child before the child is recycled
338                     -->
339                     <max_requests>1000</max_requests>
340                     <!-- min children to fork -->
341                     <min_children>1</min_children>
342                     <!-- max possible children to fork -->
343                     <max_children>15</max_children>
344
345                     <!--
346                     C forking implementation does not support 
347                     min/max idle children, but may in the future
348                     -->
349
350                     <!-- min idle children -->
351                     <min_spare_children>1</min_spare_children>
352                     <!-- max idle children -->
353                     <max_spare_children>5</max_spare_children>
354
355                 </unix_config>
356
357                 <app_settings>
358                     <!-- defined app-specific settings here -->
359                     <default_timeout>
360                         <!-- default login timeouts based on login type -->
361                         <opac>420</opac>
362                         <staff>7200</staff>
363                         <temp>300</temp>
364                     </default_timeout>
365                 </app_settings>
366             </open-ils.auth>
367
368
369             <!-- Generic search server -->
370             <open-ils.search>
371                 <keepalive>5</keepalive>
372                 <stateless>1</stateless>
373                 <language>perl</language>
374                 <implementation>OpenILS::Application::Search</implementation>
375                 <max_requests>93</max_requests>
376                 <unix_config>
377
378                     <!-- the following 3 settings are currently used by Perl services only -->
379                     <unix_sock>open-ils.search_unix.sock</unix_sock>
380                     <unix_pid>open-ils.search_unix.pid</unix_pid>
381                     <unix_log>open-ils.search_unix.log</unix_log>
382
383                     <max_requests>1000</max_requests>
384                     <min_children>1</min_children>
385                     <max_children>15</max_children>
386                     <min_spare_children>1</min_spare_children>
387                     <max_spare_children>5</max_spare_children>
388                 </unix_config>
389                 <app_settings>
390                     <marc_html_xsl>oilsMARC21slim2HTML.xsl</marc_html_xsl>
391                     <marc_html_xsl_slim>oilsMARC21slim2HTMLslim.xsl</marc_html_xsl_slim>
392
393                     <spelling_dictionary>
394                         <!-- 
395                             Optionally configure different dictionaries depending on search context.  
396                             If no dictionaries are defined, the default Aspell dictionary is used.
397                         -->
398                         <!--
399                         <default>LOCALSTATEDIR/data/default_dict.txt</default>
400                         <title>LOCALSTATEDIR/data/title_dict.txt</title>
401                         <author>LOCALSTATEDIR/data/author_dict.txt</author>
402                         <subject>LOCALSTATEDIR/data/subject_dict.txt</subject>
403                         <series>LOCALSTATEDIR/data/series_dict.txt</series>
404                         -->
405                     </spelling_dictionary>
406
407                     <!-- Default to using staged search -->
408                     <use_staged_search>true</use_staged_search>
409
410                     <!--
411                         For staged search, we estimate hits based on inclusion or exclusion.
412
413                         Valid settings:
414                             inclusion - visible ratio on superpage
415                             exclusion - excluded ratio on superpage
416                             delete_adjusted_inclusion - included ratio on superpage, ratio adjusted by deleted count
417                             delete_adjusted_exclusion - excluded ratio on superpage, ratio adjusted by deleted count
418
419                         Under normal circumstances, inclusion is the best strategy, and both delete_adjusted variants
420                         will return the same value +/- 1.  The exclusion strategy is the original, and works well
421                         when there are few deleted or excluded records, in other words, when the superpage is not
422                         sparsely populated with visible records.
423                     -->
424                     <estimation_strategy>inclusion</estimation_strategy>
425
426                     <!-- Baseline number of records to check for hit estimation. -->
427                     <superpage_size>1000</superpage_size>
428
429                     <!-- How many superpages to consider for searching overall. -->
430                     <max_superpages>10</max_superpages>
431
432                     <!-- zip code database file -->
433                     <!--<zips_file>LOCALSTATEDIR/data/zips.txt</zips_file>-->
434                 </app_settings>
435             </open-ils.search>
436
437             <!-- server for accessing user info -->
438             <open-ils.actor>
439                 <keepalive>5</keepalive>
440                 <stateless>1</stateless>
441                 <language>perl</language>
442                 <implementation>OpenILS::Application::Actor</implementation>
443                 <max_requests>93</max_requests>
444                 <unix_config>
445                     <unix_sock>open-ils.actor_unix.sock</unix_sock>
446                     <unix_pid>open-ils.actor_unix.pid</unix_pid>
447                     <max_requests>1000</max_requests>
448                     <unix_log>open-ils.actor_unix.log</unix_log>
449                     <min_children>1</min_children>
450                     <max_children>15</max_children>
451                     <min_spare_children>1</min_spare_children>
452                     <max_spare_children>5</max_spare_children>
453                 </unix_config>
454                 <!-- set this to 'true' to have barcode search also search patron records by unique ID -->
455                 <app_settings>
456                     <id_as_barcode>false</id_as_barcode>
457                 </app_settings>
458
459             </open-ils.actor>
460
461             <open-ils.booking>
462                 <keepalive>5</keepalive>
463                 <stateless>1</stateless>
464                 <language>perl</language>
465                 <implementation>OpenILS::Application::Booking</implementation>
466                 <max_requests>199</max_requests>
467                 <unix_config>
468                     <unix_sock>open-ils.booking_unix.sock</unix_sock>
469                     <unix_pid>open-ils.booking_unix.pid</unix_pid>
470                     <max_requests>1000</max_requests>
471                     <unix_log>open-ils.booking_unix.log</unix_log>
472                     <min_children>1</min_children>
473                     <max_children>15</max_children>
474                     <min_spare_children>1</min_spare_children>
475                     <max_spare_children>5</max_spare_children>
476                 </unix_config>
477                 <app_settings>
478                     <marctemplates>
479                         <K_book>LOCALSTATEDIR/templates/marc/k_book.xml</K_book>
480                     </marctemplates>
481                 </app_settings>
482             </open-ils.booking>
483
484             <open-ils.cat>
485                 <keepalive>5</keepalive>
486                 <stateless>1</stateless>
487                 <language>perl</language>
488                 <implementation>OpenILS::Application::Cat</implementation>
489                 <max_requests>199</max_requests>
490                 <unix_config>
491                     <unix_sock>open-ils.cat_unix.sock</unix_sock>
492                     <unix_pid>open-ils.cat_unix.pid</unix_pid>
493                     <max_requests>1000</max_requests>
494                     <unix_log>open-ils.cat_unix.log</unix_log>
495                     <min_children>1</min_children>
496                     <max_children>15</max_children>
497                     <min_spare_children>1</min_spare_children>
498                     <max_spare_children>5</max_spare_children>
499                 </unix_config>
500                 <app_settings>
501                     <marctemplates>
502                         <K_book>LOCALSTATEDIR/templates/marc/k_book.xml</K_book>
503                     </marctemplates>
504                 </app_settings>
505             </open-ils.cat>
506
507             <open-ils.supercat>
508                 <keepalive>5</keepalive>
509                 <stateless>1</stateless>
510                 <language>perl</language>
511                 <implementation>OpenILS::Application::SuperCat</implementation>
512                 <max_requests>199</max_requests>
513                 <unix_config>
514                     <unix_sock>open-ils.supercat_unix.sock</unix_sock>
515                     <unix_pid>open-ils.supercat_unix.pid</unix_pid>
516                     <max_requests>1000</max_requests>
517                     <unix_log>open-ils.supercat_unix.log</unix_log>
518                     <min_children>1</min_children>
519                     <max_children>15</max_children>
520                     <min_spare_children>1</min_spare_children>
521                     <max_spare_children>5</max_spare_children>
522                 </unix_config>
523             </open-ils.supercat>
524
525             <!-- server for accessing user info -->
526             <open-ils.trigger>
527                 <keepalive>5</keepalive>
528                 <stateless>1</stateless>
529                 <language>perl</language>
530                 <implementation>OpenILS::Application::Trigger</implementation>
531                 <max_requests>93</max_requests>
532                 <unix_config>
533                     <unix_sock>open-ils.trigger_unix.sock</unix_sock>
534                     <unix_pid>open-ils.trigger_unix.pid</unix_pid>
535                     <max_requests>1000</max_requests>
536                     <unix_log>open-ils.trigger_unix.log</unix_log>
537                     <min_children>1</min_children>
538                     <max_children>15</max_children>
539                     <min_spare_children>1</min_spare_children>
540                     <max_spare_children>5</max_spare_children>
541                 </unix_config>
542             </open-ils.trigger>
543
544             <opensrf.math>
545                 <keepalive>3</keepalive>
546                 <stateless>1</stateless>
547                 <language>c</language>
548                 <implementation>osrf_math.so</implementation>
549                 <max_requests>97</max_requests>
550                 <unix_config>
551                     <unix_sock>opensrf.math_unix.sock</unix_sock>
552                     <unix_pid>opensrf.math_unix.pid</unix_pid>
553                     <max_requests>1000</max_requests>
554                     <unix_log>opensrf.math_unix.log</unix_log>
555                     <min_children>1</min_children>
556                     <max_children>15</max_children>
557                     <min_spare_children>1</min_spare_children>
558                     <max_spare_children>5</max_spare_children>
559                 </unix_config>
560             </opensrf.math>
561
562             <opensrf.dbmath> 
563                 <keepalive>3</keepalive>
564                 <stateless>1</stateless>
565                 <language>c</language>
566                 <implementation>osrf_dbmath.so</implementation>
567                 <max_requests>99</max_requests>
568                 <unix_config>
569                     <max_requests>1000</max_requests>
570                     <unix_log>opensrf.dbmath_unix.log</unix_log>
571                     <unix_sock>opensrf.dbmath_unix.sock</unix_sock>
572                     <unix_pid>opensrf.dbmath_unix.pid</unix_pid>
573                     <min_children>1</min_children>
574                     <max_children>15</max_children>
575                     <min_spare_children>1</min_spare_children> 
576                     <max_spare_children>5</max_spare_children>
577                 </unix_config>
578             </opensrf.dbmath>
579
580             <open-ils.penalty>
581                 <keepalive>3</keepalive>
582                 <stateless>1</stateless>
583                 <language>perl</language>
584                 <implementation>OpenILS::Application::Penalty</implementation>
585                 <max_requests>99</max_requests>
586                 <unix_config>
587                     <max_requests>1000</max_requests>
588                     <unix_log>open-ils.penalty_unix.log</unix_log>
589                     <unix_sock>open-ils.penalty_unix.sock</unix_sock>
590                     <unix_pid>open-ils.penalty_unix.pid</unix_pid>
591                     <min_children>1</min_children>
592                     <max_children>15</max_children>
593                     <min_spare_children>1</min_spare_children>
594                     <max_spare_children>5</max_spare_children>
595                 </unix_config>
596                 <app_settings>
597                     <patron_penalty>penalty/patron_penalty.js</patron_penalty>
598                     <script_path>LIBDIR/javascript</script_path>
599                     <script_path>LOCALSTATEDIR</script_path>
600                     <script_path>LOCALSTATEDIR/catalog</script_path>
601                 </app_settings>
602             </open-ils.penalty>
603
604             <open-ils.circ> 
605                 <keepalive>3</keepalive>
606                 <stateless>1</stateless>
607                 <language>perl</language>
608                 <implementation>OpenILS::Application::Circ</implementation>
609                 <max_requests>99</max_requests>
610                 <unix_config>
611                     <max_requests>1000</max_requests>
612                     <unix_log>open-ils.circ_unix.log</unix_log>
613                     <unix_sock>open-ils.circ_unix.sock</unix_sock>
614                     <unix_pid>open-ils.circ_unix.pid</unix_pid>
615                     <min_children>1</min_children>
616                     <max_children>15</max_children>
617                     <min_spare_children>1</min_spare_children> 
618                     <max_spare_children>5</max_spare_children>
619                 </unix_config>
620                 <app_settings>
621                     <notify_hold>
622                         <email>true</email> <!-- set to false to disable hold notice emails -->
623                     </notify_hold>
624
625                     <!-- circulation policy scripts -->
626                     <script_path>LIBDIR/javascript</script_path>
627                     <script_path>LOCALSTATEDIR</script_path>
628                     <script_path>LOCALSTATEDIR/catalog</script_path>
629                     <legacy_script_support>false</legacy_script_support>
630                     <scripts> 
631                         <circ_permit_patron>circ/circ_permit_patron.js</circ_permit_patron>
632                         <circ_permit_copy>circ/circ_permit_copy.js</circ_permit_copy>
633                         <circ_duration>circ/circ_duration.js</circ_duration>
634                         <circ_recurring_fines>circ/circ_recurring_fines.js</circ_recurring_fines>
635                         <circ_max_fines>circ/circ_max_fines.js</circ_max_fines>
636                         <circ_permit_renew>circ/circ_permit_renew.js</circ_permit_renew>
637                         <circ_permit_hold>circ/circ_permit_hold.js</circ_permit_hold>
638                     </scripts>               
639
640                     <circ_modifiers>
641                         <mod>art</mod>
642                         <mod>atlas</mod>
643                         <mod>audiobook</mod>
644                         <mod>av</mod>
645                         <mod>new-av</mod>
646                         <mod>bestseller</mod>
647                         <mod>bestsellernh</mod>
648                         <mod>book</mod>
649                         <mod>cd</mod>
650                         <mod>dvd</mod>
651                         <mod>dvd-long</mod>
652                         <mod>e-book</mod>
653                         <mod>equipment</mod>
654                         <mod>filmstrip</mod>
655                         <mod>kit</mod>
656                         <mod>magazine</mod>
657                         <mod>map</mod>
658                         <mod>microform</mod>
659                         <mod>music</mod>
660                         <mod>record</mod>
661                         <mod>software</mod>
662                         <mod>softwrlong</mod>
663                         <mod>equip-long</mod>
664                         <mod>talking book</mod>
665                         <mod>toy</mod>
666                         <mod>video</mod>
667                         <mod>video-long</mod>
668                     </circ_modifiers>
669
670                     <billing_types>
671                         <type>Miscellaneous</type>
672                         <type>Overdue materials</type>
673                         <type>Fee for placing a hold</type>
674                         <type>Fee for checking out a book</type>
675                         <type>Fee for library card</type>
676                         <type>Miscellaneous charges</type>
677                         <type>Lost materials</type>
678                         <type>Damaged material</type>
679                         <type>Overdue Reserves charge</type>
680                         <type>Recall overdue</type>
681                         <type>Fee for processing lost library materials</type>
682                         <type>Fee for sending patron bills to collection agency</type>
683                         <type>Fee for interlibrary loan</type>
684                         <type>Fee for copies</type>
685                         <type>Money advanced to pay for telephone use</type>
686                         <type>Deposit fee</type>
687                         <type>Fee for disk</type>
688                         <type>Fee for faxing</type>
689                         <type>Fee for laminating</type>
690                         <type>Fee for room cleaning</type>
691                         <type>Deposit returned; fee refund</type>
692                         <type>Sale items</type>
693                         <type>Fee for lost card</type>
694                         <type>Long overdue items</type>
695                         <type>Lost/Replacement Cassette</type>
696                         <type>Returned Check</type>
697                     </billing_types>
698                 </app_settings>
699             </open-ils.circ>
700
701             <open-ils.ingest>
702                 <keepalive>3</keepalive>
703                 <stateless>1</stateless>
704                 <implementation>OpenILS::Application::Ingest</implementation>
705                 <language>perl</language>
706                 <max_requests>1000000</max_requests>
707                 <unix_config>
708                     <max_requests>1000000</max_requests>
709                     <unix_log>open-ils.ingest-unix.log</unix_log>
710                     <unix_sock>open-ils.ingest-unix.sock</unix_sock>
711                     <unix_pid>open-ils.ingest-unix.pid</unix_pid>
712                     <min_children>5</min_children>
713                     <max_children>20</max_children>
714                     <min_spare_children>2</min_spare_children>
715                     <max_spare_children>5</max_spare_children>
716                 </unix_config>
717                 <app_settings>
718                     <script_path>LIBDIR/javascript/</script_path>
719                     <script_path>LOCALSTATEDIR/catalog/</script_path>
720                     <script_path>LOCALSTATEDIR/web/opac/common/js/</script_path>
721                     <scripts>
722                         <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
723                         <biblio_descriptor>biblio_descriptor.js</biblio_descriptor>
724                     </scripts>
725                 </app_settings>
726             </open-ils.ingest>
727
728             <open-ils.storage>
729                 <keepalive>10</keepalive>
730                 <stateless>1</stateless>
731                 <language>perl</language>
732                 <implementation>OpenILS::Application::Storage</implementation>
733                 <unix_config>
734                     <max_requests>1000</max_requests>
735                     <unix_log>open-ils.storage_unix.log</unix_log>
736                     <unix_sock>open-ils.storage_unix.sock</unix_sock>
737                     <unix_pid>open-ils.storage_unix.pid</unix_pid>
738                     <min_children>1</min_children>
739                     <max_children>10</max_children>
740                     <min_spare_children>1</min_spare_children>
741                     <max_spare_children>5</max_spare_children>
742                 </unix_config>
743                 <app_settings>
744                     <script_path>LIBDIR/javascript/</script_path>
745                     <script_path>LOCALSTATEDIR/catalog/</script_path>
746                     <scripts>
747                         <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
748                     </scripts>
749                     <databases>
750                         <driver>Pg</driver>
751                         <database>
752                             <type>master</type>
753                             <weight>2</weight>
754                             <user>postgres</user>
755                             <host>localhost</host>
756                             <port>5432</port>
757                             <pw>postgres</pw>
758                             <db>evergreen</db>
759                             <client_encoding>UTF-8</client_encoding>
760                         </database>
761                     </databases>
762                 </app_settings>
763             </open-ils.storage>
764
765
766             <open-ils.cstore>
767                 <keepalive>6</keepalive>
768                 <stateless>1</stateless>
769                 <language>C</language>
770                 <implementation>oils_cstore.so</implementation>
771                 <max_requests>200</max_requests>
772                 <unix_config>
773                     <max_requests>1000</max_requests>
774                     <min_children>1</min_children>
775                     <max_children>15</max_children>
776                     <min_spare_children>1</min_spare_children>
777                     <max_spare_children>5</max_spare_children>
778                 </unix_config>
779                 <app_settings>
780                     <max_query_recursion>100</max_query_recursion>
781                     <driver>pgsql</driver>
782                     <database>
783                         <type>master</type>
784                         <weight>2</weight>
785                         <user>postgres</user>
786                         <host>localhost</host>
787                         <port>5432</port>
788                         <pw>postgres</pw>
789                         <db>evergreen</db>
790                         <client_encoding>UTF-8</client_encoding>
791                     </database>
792                 </app_settings>
793             </open-ils.cstore>
794
795
796             <open-ils.pcrud>
797                 <keepalive>6</keepalive>
798                 <migratable>1</migratable>
799                 <stateless>1</stateless>
800                 <language>C</language>
801                 <implementation>oils_pcrud.so</implementation>
802                 <max_requests>200</max_requests>
803
804                 <unix_config>
805                     <unix_log>open-ils.pcrud.log</unix_log>
806                     <unix_sock>open-ils.pcrud.sock</unix_sock>
807                     <unix_pid>open-ils.pcrud.pid</unix_pid>
808                     <max_requests>1000</max_requests>
809                     <min_children>1</min_children>
810                     <max_children>15</max_children>
811                     <min_spare_children>1</min_spare_children>
812                     <max_spare_children>5</max_spare_children>
813                 </unix_config>
814
815                 <app_settings>
816                     <IDL>SYSCONFDIR/fm_IDL.xml</IDL>
817                     <driver>pgsql</driver>
818                     <database>
819                         <type>master</type>
820                         <weight>2</weight>
821                         <user>postgres</user>
822                         <host>localhost</host>
823                         <port>5432</port>
824                         <pw>postgres</pw>
825                         <db>evergreen</db>
826                         <client_encoding>UTF-8</client_encoding>
827                     </database>
828                 </app_settings>
829             </open-ils.pcrud>
830
831
832             <opensrf.settings>
833                 <keepalive>1</keepalive>
834                 <stateless>1</stateless>
835                 <language>perl</language>
836                 <implementation>OpenSRF::Application::Settings</implementation>
837                 <max_requests>17</max_requests>
838                 <unix_config>
839                     <unix_sock>opensrf.settings_unix.sock</unix_sock>
840                     <unix_pid>opensrf.settings_unix.pid</unix_pid>
841                     <max_requests>300</max_requests>
842                     <unix_log>opensrf.settings_unix.log</unix_log>
843                     <min_children>5</min_children>
844                     <max_children>15</max_children>
845                     <min_spare_children>3</min_spare_children>
846                     <max_spare_children>5</max_spare_children>
847                 </unix_config>
848             </opensrf.settings>
849
850             <open-ils.collections>
851                 <keepalive>3</keepalive>
852                 <stateless>1</stateless>
853                 <language>perl</language>
854                 <implementation>OpenILS::Application::Collections</implementation>
855                 <max_requests>17</max_requests>
856                 <unix_config>
857                     <unix_sock>open-ils.collections_unix.sock</unix_sock>
858                     <unix_pid>open-ils.collections_unix.pid</unix_pid>
859                     <max_requests>1000</max_requests>
860                     <unix_log>open-ils.collections_unix.log</unix_log>
861                     <min_children>1</min_children>
862                     <max_children>10</max_children>
863                     <min_spare_children>1</min_spare_children>
864                     <max_spare_children>5</max_spare_children>
865                 </unix_config>
866             </open-ils.collections>
867
868             <open-ils.reporter>
869                 <keepalive>3</keepalive>
870                 <stateless>1</stateless>
871                 <language>perl</language>
872                 <implementation>OpenILS::Application::Reporter</implementation>
873                 <max_requests>99</max_requests>
874                 <unix_config>
875                     <unix_sock>open-ils.reporter_unix.sock</unix_sock>
876                     <unix_pid>open-ils.reporter_unix.pid</unix_pid>
877                     <max_requests>1000</max_requests>
878                     <unix_log>open-ils.reporter_unix.log</unix_log>
879                     <min_children>1</min_children>
880                     <max_children>10</max_children>
881                     <min_spare_children>1</min_spare_children>
882                     <max_spare_children>5</max_spare_children>
883                 </unix_config>
884             </open-ils.reporter>
885
886
887             <open-ils.reporter-store>
888                 <keepalive>6</keepalive>
889                 <stateless>1</stateless>
890                 <language>C</language>
891                 <implementation>oils_rstore.so</implementation>
892                 <max_requests>95</max_requests>
893                 <unix_config>
894                     <max_requests>400</max_requests>
895                     <min_children>1</min_children>
896                     <max_children>10</max_children>
897                     <min_spare_children>1</min_spare_children>
898                     <max_spare_children>5</max_spare_children>
899                 </unix_config>
900                 <app_settings>
901                     <driver>pgsql</driver>
902                     <database>
903                         <type>master</type>
904                         <weight>2</weight>
905                         <user>postgres</user>
906                         <host>localhost</host>
907                         <port>5432</port>
908                         <pw>postgres</pw>
909                         <db>evergreen</db>
910                         <client_encoding>UTF-8</client_encoding>
911                     </database>
912                 </app_settings>
913             </open-ils.reporter-store>
914
915             <open-ils.permacrud>
916                <keepalive>3</keepalive>
917                <stateless>1</stateless>
918                <language>perl</language>
919                <implementation>OpenILS::Application::PermaCrud</implementation>
920                <max_requests>17</max_requests>
921                <unix_config>
922                   <unix_sock>open-ils.permacrud_unix.sock</unix_sock>
923                   <unix_pid>open-ils.permacrud_unix.pid</unix_pid>
924                   <max_requests>1000</max_requests>
925                   <unix_log>open-ils.permacrud_unix.log</unix_log>
926                   <min_children>5</min_children>
927                   <max_children>15</max_children>
928                   <min_spare_children>3</min_spare_children>
929                   <max_spare_children>5</max_spare_children>
930                </unix_config>
931             </open-ils.permacrud>
932
933             <open-ils.fielder>
934                <keepalive>3</keepalive>
935                <stateless>1</stateless>
936                <language>perl</language>
937                <implementation>OpenILS::Application::Fielder</implementation>
938                <max_requests>17</max_requests>
939                <unix_config>
940                   <unix_sock>open-ils.fielder_unix.sock</unix_sock>
941                   <unix_pid>open-ils.fielder_unix.pid</unix_pid>
942                   <max_requests>1000</max_requests>
943                   <unix_log>open-ils.fielder_unix.log</unix_log>
944                   <min_children>5</min_children>
945                   <max_children>15</max_children>
946                   <min_spare_children>3</min_spare_children>
947                   <max_spare_children>5</max_spare_children>
948                </unix_config>
949             </open-ils.fielder>
950
951             <open-ils.vandelay>
952                 <keepalive>5</keepalive>
953                 <stateless>1</stateless>
954                 <language>perl</language>
955                 <implementation>OpenILS::Application::Vandelay</implementation>
956                 <max_requests>100</max_requests>
957                 <unix_config>
958                     <unix_sock>vandelay_unix.sock</unix_sock>
959                     <unix_pid>vandelay_unix.pid</unix_pid>
960                     <unix_log>vandelay_unix.log</unix_log>
961                     <max_requests>100</max_requests>
962                     <min_children>1</min_children>
963                     <max_children>15</max_children>
964                     <min_spare_children>1</min_spare_children>
965                     <max_spare_children>5</max_spare_children>
966                 </unix_config>
967                 <app_settings>
968                     <databases>
969                         <!-- temporary location for MARC import files.  
970                             Files will be deleted after records are spooled.
971                             *note:  in a multi-brick environment, this will need to
972                             be on a write-able NFS share.  -->
973                         <importer>/tmp</importer>
974                     </databases>
975                 </app_settings>
976             </open-ils.vandelay>
977
978         </apps>
979     </default>
980
981     <hosts>
982
983         <localhost> 
984             <!-- ^-=- 
985             Should match the fully qualified domain name of the host.
986
987             On Linux, the output of the following command is authoritative:
988             $ perl -MNet::Domain -e 'print Net::Domain::hostfqdn() . "\n";'
989
990             To use 'localhost' instead, run osrf_ctl.sh with the -l flag
991             -->
992
993             <activeapps>
994                 <!-- services hosted on this machine -->
995                 <appname>opensrf.settings</appname> 
996                 <appname>opensrf.math</appname> 
997                 <appname>opensrf.dbmath</appname> 
998                 <appname>open-ils.acq</appname> 
999                 <appname>open-ils.booking</appname>
1000                 <appname>open-ils.cat</appname> 
1001                 <appname>open-ils.supercat</appname> 
1002                 <appname>open-ils.search</appname> 
1003                 <appname>open-ils.circ</appname> 
1004                 <appname>open-ils.actor</appname> 
1005                 <appname>open-ils.auth</appname> 
1006                 <appname>open-ils.storage</appname>  
1007                 <appname>open-ils.penalty</appname>  
1008                 <appname>open-ils.cstore</appname>  
1009                 <appname>open-ils.collections</appname>  
1010                 <appname>open-ils.ingest</appname>  
1011                 <appname>open-ils.reporter</appname>  
1012                 <appname>open-ils.reporter-store</appname>  
1013                 <appname>open-ils.permacrud</appname>  
1014                 <appname>open-ils.pcrud</appname>  
1015                 <appname>open-ils.trigger</appname>  
1016                 <appname>open-ils.fielder</appname>  
1017                 <appname>open-ils.vandelay</appname>  
1018             </activeapps>
1019         </localhost>
1020     </hosts>
1021
1022 </opensrf>