]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/examples/opensrf.xml.example
added functionality of searching for patron via barcode or rdbms-given id, changes...
[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         </cache>
286
287         <apps>
288             <!-- Acquisitions server -->
289             <open-ils.acq>
290                 <keepalive>5</keepalive>
291                 <stateless>1</stateless>
292                 <language>perl</language>
293                 <implementation>OpenILS::Application::Acq</implementation>
294                 <max_requests>100</max_requests>
295                 <unix_config>
296                     <unix_sock>open-ils.acq_unix.sock</unix_sock>
297                     <unix_pid>open-ils.acq_unix.pid</unix_pid>
298                     <unix_log>open-ils.acq_unix.log</unix_log>
299                     <max_requests>100</max_requests>
300                     <min_children>1</min_children>
301                     <max_children>15</max_children>
302                     <min_spare_children>1</min_spare_children>
303                     <max_spare_children>5</max_spare_children>
304                 </unix_config>
305             </open-ils.acq>
306
307             <!-- Authentication server -->
308             <open-ils.auth>
309
310                 <!-- how long to wait between stateful requests before the child process re-joins the pool -->
311                 <keepalive>5</keepalive>
312
313                 <!-- true if this service support stateless requests -->
314                 <stateless>1</stateless>
315
316                 <!-- implementation language -->
317                 <language>c</language>
318
319                 <!-- library to plugin -->
320                 <implementation>oils_auth.so</implementation>
321
322                 <!-- maximum required opensrf requests within a stateful connection -->
323                 <max_requests>93</max_requests>
324
325                 <unix_config>
326                     <!--
327                     maximum number of top level requests coming to 
328                     this child before the child is recycled
329                     -->
330                     <max_requests>1000</max_requests>
331                     <!-- min children to fork -->
332                     <min_children>1</min_children>
333                     <!-- max possible children to fork -->
334                     <max_children>15</max_children>
335
336                     <!--
337                     C forking implementation does not support 
338                     min/max idle children, but may in the future
339                     -->
340
341                     <!-- min idle children -->
342                     <min_spare_children>1</min_spare_children>
343                     <!-- max idle children -->
344                     <max_spare_children>5</max_spare_children>
345
346                 </unix_config>
347
348                 <app_settings>
349                     <!-- defined app-specific settings here -->
350                     <default_timeout>
351                         <!-- default login timeouts based on login type -->
352                         <opac>420</opac>
353                         <staff>7200</staff>
354                         <temp>300</temp>
355                     </default_timeout>
356                 </app_settings>
357             </open-ils.auth>
358
359
360             <!-- Generic search server -->
361             <open-ils.search>
362                 <keepalive>5</keepalive>
363                 <stateless>1</stateless>
364                 <language>perl</language>
365                 <implementation>OpenILS::Application::Search</implementation>
366                 <max_requests>93</max_requests>
367                 <unix_config>
368
369                     <!-- the following 3 settings are currently used by Perl services only -->
370                     <unix_sock>open-ils.search_unix.sock</unix_sock>
371                     <unix_pid>open-ils.search_unix.pid</unix_pid>
372                     <unix_log>open-ils.search_unix.log</unix_log>
373
374                     <max_requests>1000</max_requests>
375                     <min_children>1</min_children>
376                     <max_children>15</max_children>
377                     <min_spare_children>1</min_spare_children>
378                     <max_spare_children>5</max_spare_children>
379                 </unix_config>
380                 <app_settings>
381                     <marc_html_xsl>oilsMARC21slim2HTML.xsl</marc_html_xsl>
382                     <marc_html_xsl_slim>oilsMARC21slim2HTMLslim.xsl</marc_html_xsl_slim>
383
384                     <!-- Default to using staged search -->
385                     <use_staged_search>true</use_staged_search>
386
387                     <!--
388                         For staged search, we estimate hits based on inclusion or exclusion.
389
390                         Valid settings:
391                             inclusion - visible ratio on superpage
392                             exclusion - excluded ratio on superpage
393                             delete_adjusted_inclusion - included ratio on superpage, ratio adjusted by deleted count
394                             delete_adjusted_exclusion - excluded ratio on superpage, ratio adjusted by deleted count
395
396                         Under normal circumstances, inclusion is the best strategy, and both delete_adjusted variants
397                         will return the same value +/- 1.  The exclusion strategy is the original, and works well
398                         when there are few deleted or excluded records, in other words, when the superpage is not
399                         sparsely populated with visible records.
400                     -->
401                     <estimation_strategy>inclusion</estimation_strategy>
402
403                     <!-- Baseline number of records to check for hit estimation. -->
404                     <superpage_size>1000</superpage_size>
405
406                     <!-- How many superpages to consider for searching overall. -->
407                     <max_superpages>10</max_superpages>
408
409                     <!-- zip code database file -->
410                     <!--<zips_file>LOCALSTATEDIR/data/zips.txt</zips_file>-->
411                 </app_settings>
412             </open-ils.search>
413
414             <!-- server for accessing user info -->
415             <open-ils.actor>
416                 <keepalive>5</keepalive>
417                 <stateless>1</stateless>
418                 <language>perl</language>
419                 <implementation>OpenILS::Application::Actor</implementation>
420                 <max_requests>93</max_requests>
421                 <unix_config>
422                     <unix_sock>open-ils.actor_unix.sock</unix_sock>
423                     <unix_pid>open-ils.actor_unix.pid</unix_pid>
424                     <max_requests>1000</max_requests>
425                     <unix_log>open-ils.actor_unix.log</unix_log>
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>
430                 </unix_config>
431                 <!-- set this to 'true' to have barcode search also search patron records by unique ID -->
432                 <app_settings>
433                     <id_as_barcode>false</id_as_barcode>
434                 </app_settings>
435
436             </open-ils.actor>
437
438
439             <open-ils.cat>
440                 <keepalive>5</keepalive>
441                 <stateless>1</stateless>
442                 <language>perl</language>
443                 <implementation>OpenILS::Application::Cat</implementation>
444                 <max_requests>199</max_requests>
445                 <unix_config>
446                     <unix_sock>open-ils.cat_unix.sock</unix_sock>
447                     <unix_pid>open-ils.cat_unix.pid</unix_pid>
448                     <max_requests>1000</max_requests>
449                     <unix_log>open-ils.cat_unix.log</unix_log>
450                     <min_children>1</min_children>
451                     <max_children>15</max_children>
452                     <min_spare_children>1</min_spare_children>
453                     <max_spare_children>5</max_spare_children>
454                 </unix_config>
455                 <app_settings>
456                     <marctemplates>
457                         <K_book>LOCALSTATEDIR/templates/marc/k_book.xml</K_book>
458                     </marctemplates>
459                 </app_settings>
460             </open-ils.cat>
461
462             <open-ils.supercat>
463                 <keepalive>5</keepalive>
464                 <stateless>1</stateless>
465                 <language>perl</language>
466                 <implementation>OpenILS::Application::SuperCat</implementation>
467                 <max_requests>199</max_requests>
468                 <unix_config>
469                     <unix_sock>open-ils.supercat_unix.sock</unix_sock>
470                     <unix_pid>open-ils.supercat_unix.pid</unix_pid>
471                     <max_requests>1000</max_requests>
472                     <unix_log>open-ils.supercat_unix.log</unix_log>
473                     <min_children>1</min_children>
474                     <max_children>15</max_children>
475                     <min_spare_children>1</min_spare_children>
476                     <max_spare_children>5</max_spare_children>
477                 </unix_config>
478             </open-ils.supercat>
479
480             <!-- server for accessing user info -->
481             <open-ils.trigger>
482                 <keepalive>5</keepalive>
483                 <stateless>1</stateless>
484                 <language>perl</language>
485                 <implementation>OpenILS::Application::Trigger</implementation>
486                 <max_requests>93</max_requests>
487                 <unix_config>
488                     <unix_sock>open-ils.trigger_unix.sock</unix_sock>
489                     <unix_pid>open-ils.trigger_unix.pid</unix_pid>
490                     <max_requests>1000</max_requests>
491                     <unix_log>open-ils.trigger_unix.log</unix_log>
492                     <min_children>1</min_children>
493                     <max_children>15</max_children>
494                     <min_spare_children>1</min_spare_children>
495                     <max_spare_children>5</max_spare_children>
496                 </unix_config>
497             </open-ils.trigger>
498
499             <opensrf.math>
500                 <keepalive>3</keepalive>
501                 <stateless>1</stateless>
502                 <language>c</language>
503                 <implementation>osrf_math.so</implementation>
504                 <max_requests>97</max_requests>
505                 <unix_config>
506                     <unix_sock>opensrf.math_unix.sock</unix_sock>
507                     <unix_pid>opensrf.math_unix.pid</unix_pid>
508                     <max_requests>1000</max_requests>
509                     <unix_log>opensrf.math_unix.log</unix_log>
510                     <min_children>1</min_children>
511                     <max_children>15</max_children>
512                     <min_spare_children>1</min_spare_children>
513                     <max_spare_children>5</max_spare_children>
514                 </unix_config>
515             </opensrf.math>
516
517             <opensrf.dbmath> 
518                 <keepalive>3</keepalive>
519                 <stateless>1</stateless>
520                 <language>c</language>
521                 <implementation>osrf_dbmath.so</implementation>
522                 <max_requests>99</max_requests>
523                 <unix_config>
524                     <max_requests>1000</max_requests>
525                     <unix_log>opensrf.dbmath_unix.log</unix_log>
526                     <unix_sock>opensrf.dbmath_unix.sock</unix_sock>
527                     <unix_pid>opensrf.dbmath_unix.pid</unix_pid>
528                     <min_children>1</min_children>
529                     <max_children>15</max_children>
530                     <min_spare_children>1</min_spare_children> 
531                     <max_spare_children>5</max_spare_children>
532                 </unix_config>
533             </opensrf.dbmath>
534
535             <open-ils.penalty>
536                 <keepalive>3</keepalive>
537                 <stateless>1</stateless>
538                 <language>perl</language>
539                 <implementation>OpenILS::Application::Penalty</implementation>
540                 <max_requests>99</max_requests>
541                 <unix_config>
542                     <max_requests>1000</max_requests>
543                     <unix_log>open-ils.penalty_unix.log</unix_log>
544                     <unix_sock>open-ils.penalty_unix.sock</unix_sock>
545                     <unix_pid>open-ils.penalty_unix.pid</unix_pid>
546                     <min_children>1</min_children>
547                     <max_children>15</max_children>
548                     <min_spare_children>1</min_spare_children>
549                     <max_spare_children>5</max_spare_children>
550                 </unix_config>
551                 <app_settings>
552                     <patron_penalty>penalty/patron_penalty.js</patron_penalty>
553                     <script_path>LIBDIR/javascript</script_path>
554                     <script_path>LOCALSTATEDIR</script_path>
555                     <script_path>LOCALSTATEDIR/catalog</script_path>
556                 </app_settings>
557             </open-ils.penalty>
558
559             <open-ils.circ> 
560                 <keepalive>3</keepalive>
561                 <stateless>1</stateless>
562                 <language>perl</language>
563                 <implementation>OpenILS::Application::Circ</implementation>
564                 <max_requests>99</max_requests>
565                 <unix_config>
566                     <max_requests>1000</max_requests>
567                     <unix_log>open-ils.circ_unix.log</unix_log>
568                     <unix_sock>open-ils.circ_unix.sock</unix_sock>
569                     <unix_pid>open-ils.circ_unix.pid</unix_pid>
570                     <min_children>1</min_children>
571                     <max_children>15</max_children>
572                     <min_spare_children>1</min_spare_children> 
573                     <max_spare_children>5</max_spare_children>
574                 </unix_config>
575                 <app_settings>
576                     <notify_hold>
577                         <email>false</email> <!-- set to true for hold notice emails -->
578                     </notify_hold>
579
580                     <!-- circulation policy scripts -->
581                     <script_path>LIBDIR/javascript</script_path>
582                     <script_path>LOCALSTATEDIR</script_path>
583                     <script_path>LOCALSTATEDIR/catalog</script_path>
584                     <legacy_script_support>false</legacy_script_support>
585                     <scripts> 
586                         <circ_permit_patron>circ/circ_permit_patron.js</circ_permit_patron>
587                         <circ_permit_copy>circ/circ_permit_copy.js</circ_permit_copy>
588                         <circ_duration>circ/circ_duration.js</circ_duration>
589                         <circ_recurring_fines>circ/circ_recurring_fines.js</circ_recurring_fines>
590                         <circ_max_fines>circ/circ_max_fines.js</circ_max_fines>
591                         <circ_permit_renew>circ/circ_permit_renew.js</circ_permit_renew>
592                         <circ_permit_hold>circ/circ_permit_hold.js</circ_permit_hold>
593                     </scripts>               
594
595                     <circ_modifiers>
596                         <mod>art</mod>
597                         <mod>atlas</mod>
598                         <mod>audiobook</mod>
599                         <mod>av</mod>
600                         <mod>new-av</mod>
601                         <mod>bestseller</mod>
602                         <mod>bestsellernh</mod>
603                         <mod>book</mod>
604                         <mod>cd</mod>
605                         <mod>dvd</mod>
606                         <mod>dvd-long</mod>
607                         <mod>e-book</mod>
608                         <mod>equipment</mod>
609                         <mod>filmstrip</mod>
610                         <mod>kit</mod>
611                         <mod>magazine</mod>
612                         <mod>map</mod>
613                         <mod>microform</mod>
614                         <mod>music</mod>
615                         <mod>record</mod>
616                         <mod>software</mod>
617                         <mod>softwrlong</mod>
618                         <mod>equip-long</mod>
619                         <mod>talking book</mod>
620                         <mod>toy</mod>
621                         <mod>video</mod>
622                         <mod>video-long</mod>
623                     </circ_modifiers>
624
625                     <billing_types>
626                         <type>Miscellaneous</type>
627                         <type>Overdue materials</type>
628                         <type>Fee for placing a hold</type>
629                         <type>Fee for checking out a book</type>
630                         <type>Fee for library card</type>
631                         <type>Miscellaneous charges</type>
632                         <type>Lost materials</type>
633                         <type>Damaged material</type>
634                         <type>Overdue Reserves charge</type>
635                         <type>Recall overdue</type>
636                         <type>Fee for processing lost library materials</type>
637                         <type>Fee for sending patron bills to collection agency</type>
638                         <type>Fee for interlibrary loan</type>
639                         <type>Fee for copies</type>
640                         <type>Money advanced to pay for telephone use</type>
641                         <type>Deposit fee</type>
642                         <type>Fee for disk</type>
643                         <type>Fee for faxing</type>
644                         <type>Fee for laminating</type>
645                         <type>Fee for room cleaning</type>
646                         <type>Deposit returned; fee refund</type>
647                         <type>Sale items</type>
648                         <type>Fee for lost card</type>
649                         <type>Long overdue items</type>
650                         <type>Lost/Replacement Cassette</type>
651                         <type>Returned Check</type>
652                     </billing_types>
653                 </app_settings>
654             </open-ils.circ>
655
656             <open-ils.ingest>
657                 <keepalive>3</keepalive>
658                 <stateless>1</stateless>
659                 <implementation>OpenILS::Application::Ingest</implementation>
660                 <language>perl</language>
661                 <max_requests>1000000</max_requests>
662                 <unix_config>
663                     <max_requests>1000000</max_requests>
664                     <unix_log>open-ils.ingest-unix.log</unix_log>
665                     <unix_sock>open-ils.ingest-unix.sock</unix_sock>
666                     <unix_pid>open-ils.ingest-unix.pid</unix_pid>
667                     <min_children>5</min_children>
668                     <max_children>20</max_children>
669                     <min_spare_children>2</min_spare_children>
670                     <max_spare_children>5</max_spare_children>
671                 </unix_config>
672                 <app_settings>
673                     <script_path>LIBDIR/javascript/</script_path>
674                     <script_path>LOCALSTATEDIR/catalog/</script_path>
675                     <script_path>LOCALSTATEDIR/web/opac/common/js/</script_path>
676                     <scripts>
677                         <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
678                         <biblio_descriptor>biblio_descriptor.js</biblio_descriptor>
679                     </scripts>
680                 </app_settings>
681             </open-ils.ingest>
682
683             <open-ils.storage>
684                 <keepalive>10</keepalive>
685                 <stateless>1</stateless>
686                 <language>perl</language>
687                 <implementation>OpenILS::Application::Storage</implementation>
688                 <unix_config>
689                     <max_requests>1000</max_requests>
690                     <unix_log>open-ils.storage_unix.log</unix_log>
691                     <unix_sock>open-ils.storage_unix.sock</unix_sock>
692                     <unix_pid>open-ils.storage_unix.pid</unix_pid>
693                     <min_children>1</min_children>
694                     <max_children>10</max_children>
695                     <min_spare_children>1</min_spare_children>
696                     <max_spare_children>5</max_spare_children>
697                 </unix_config>
698                 <app_settings>
699                     <script_path>LIBDIR/javascript/</script_path>
700                     <script_path>LOCALSTATEDIR/catalog/</script_path>
701                     <scripts>
702                         <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
703                     </scripts>
704                     <databases>
705                         <driver>Pg</driver>
706                         <database>
707                             <type>master</type>
708                             <weight>2</weight>
709                             <user>postgres</user>
710                             <host>localhost</host>
711                             <port>5432</port>
712                             <pw>postgres</pw>
713                             <db>evergreen</db>
714                             <client_encoding>UTF-8</client_encoding>
715                         </database>
716                     </databases>
717                 </app_settings>
718             </open-ils.storage>
719
720
721             <open-ils.cstore>
722                 <keepalive>6</keepalive>
723                 <stateless>1</stateless>
724                 <language>C</language>
725                 <implementation>oils_cstore.so</implementation>
726                 <max_requests>200</max_requests>
727                 <unix_config>
728                     <max_requests>1000</max_requests>
729                     <min_children>1</min_children>
730                     <max_children>15</max_children>
731                     <min_spare_children>1</min_spare_children>
732                     <max_spare_children>5</max_spare_children>
733                 </unix_config>
734                 <app_settings>
735                     <max_query_recursion>100</max_query_recursion>
736                     <driver>pgsql</driver>
737                     <database>
738                         <type>master</type>
739                         <weight>2</weight>
740                         <user>postgres</user>
741                         <host>localhost</host>
742                         <port>5432</port>
743                         <pw>postgres</pw>
744                         <db>evergreen</db>
745                         <client_encoding>UTF-8</client_encoding>
746                     </database>
747                 </app_settings>
748             </open-ils.cstore>
749
750
751             <open-ils.pcrud>
752                 <keepalive>6</keepalive>
753                 <migratable>1</migratable>
754                 <stateless>1</stateless>
755                 <language>C</language>
756                 <implementation>oils_pcrud.so</implementation>
757                 <max_requests>200</max_requests>
758
759                 <unix_config>
760                     <unix_log>open-ils.pcrud.log</unix_log>
761                     <unix_sock>open-ils.pcrud.sock</unix_sock>
762                     <unix_pid>open-ils.pcrud.pid</unix_pid>
763                     <max_requests>1000</max_requests>
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>
768                 </unix_config>
769
770                 <app_settings>
771                     <IDL>SYSCONFDIR/fm_IDL.xml</IDL>
772                     <driver>pgsql</driver>
773                     <database>
774                         <type>master</type>
775                         <weight>2</weight>
776                         <user>postgres</user>
777                         <host>localhost</host>
778                         <port>5432</port>
779                         <pw>postgres</pw>
780                         <db>evergreen</db>
781                         <client_encoding>UTF-8</client_encoding>
782                     </database>
783                 </app_settings>
784             </open-ils.pcrud>
785
786
787             <opensrf.settings>
788                 <keepalive>1</keepalive>
789                 <stateless>1</stateless>
790                 <language>perl</language>
791                 <implementation>OpenSRF::Application::Settings</implementation>
792                 <max_requests>17</max_requests>
793                 <unix_config>
794                     <unix_sock>opensrf.settings_unix.sock</unix_sock>
795                     <unix_pid>opensrf.settings_unix.pid</unix_pid>
796                     <max_requests>300</max_requests>
797                     <unix_log>opensrf.settings_unix.log</unix_log>
798                     <min_children>5</min_children>
799                     <max_children>15</max_children>
800                     <min_spare_children>3</min_spare_children>
801                     <max_spare_children>5</max_spare_children>
802                 </unix_config>
803             </opensrf.settings>
804
805             <open-ils.collections>
806                 <keepalive>3</keepalive>
807                 <stateless>1</stateless>
808                 <language>perl</language>
809                 <implementation>OpenILS::Application::Collections</implementation>
810                 <max_requests>17</max_requests>
811                 <unix_config>
812                     <unix_sock>open-ils.collections_unix.sock</unix_sock>
813                     <unix_pid>open-ils.collections_unix.pid</unix_pid>
814                     <max_requests>1000</max_requests>
815                     <unix_log>open-ils.collections_unix.log</unix_log>
816                     <min_children>1</min_children>
817                     <max_children>10</max_children>
818                     <min_spare_children>1</min_spare_children>
819                     <max_spare_children>5</max_spare_children>
820                 </unix_config>
821             </open-ils.collections>
822
823             <open-ils.reporter>
824                 <keepalive>3</keepalive>
825                 <stateless>1</stateless>
826                 <language>perl</language>
827                 <implementation>OpenILS::Application::Reporter</implementation>
828                 <max_requests>99</max_requests>
829                 <unix_config>
830                     <unix_sock>open-ils.reporter_unix.sock</unix_sock>
831                     <unix_pid>open-ils.reporter_unix.pid</unix_pid>
832                     <max_requests>1000</max_requests>
833                     <unix_log>open-ils.reporter_unix.log</unix_log>
834                     <min_children>1</min_children>
835                     <max_children>10</max_children>
836                     <min_spare_children>1</min_spare_children>
837                     <max_spare_children>5</max_spare_children>
838                 </unix_config>
839             </open-ils.reporter>
840
841
842             <open-ils.reporter-store>
843                 <keepalive>6</keepalive>
844                 <stateless>1</stateless>
845                 <language>C</language>
846                 <implementation>oils_rstore.so</implementation>
847                 <max_requests>95</max_requests>
848                 <unix_config>
849                     <max_requests>400</max_requests>
850                     <min_children>1</min_children>
851                     <max_children>10</max_children>
852                     <min_spare_children>1</min_spare_children>
853                     <max_spare_children>5</max_spare_children>
854                 </unix_config>
855                 <app_settings>
856                     <driver>pgsql</driver>
857                     <database>
858                         <type>master</type>
859                         <weight>2</weight>
860                         <user>postgres</user>
861                         <host>localhost</host>
862                         <port>5432</port>
863                         <pw>postgres</pw>
864                         <db>evergreen</db>
865                         <client_encoding>UTF-8</client_encoding>
866                     </database>
867                 </app_settings>
868             </open-ils.reporter-store>
869
870             <open-ils.permacrud>
871                <keepalive>3</keepalive>
872                <stateless>1</stateless>
873                <language>perl</language>
874                <implementation>OpenILS::Application::PermaCrud</implementation>
875                <max_requests>17</max_requests>
876                <unix_config>
877                   <unix_sock>open-ils.permacrud_unix.sock</unix_sock>
878                   <unix_pid>open-ils.permacrud_unix.pid</unix_pid>
879                   <max_requests>1000</max_requests>
880                   <unix_log>open-ils.permacrud_unix.log</unix_log>
881                   <min_children>5</min_children>
882                   <max_children>15</max_children>
883                   <min_spare_children>3</min_spare_children>
884                   <max_spare_children>5</max_spare_children>
885                </unix_config>
886             </open-ils.permacrud>
887
888             <open-ils.fielder>
889                <keepalive>3</keepalive>
890                <stateless>1</stateless>
891                <language>perl</language>
892                <implementation>OpenILS::Application::Fielder</implementation>
893                <max_requests>17</max_requests>
894                <unix_config>
895                   <unix_sock>open-ils.fielder_unix.sock</unix_sock>
896                   <unix_pid>open-ils.fielder_unix.pid</unix_pid>
897                   <max_requests>1000</max_requests>
898                   <unix_log>open-ils.fielder_unix.log</unix_log>
899                   <min_children>5</min_children>
900                   <max_children>15</max_children>
901                   <min_spare_children>3</min_spare_children>
902                   <max_spare_children>5</max_spare_children>
903                </unix_config>
904             </open-ils.fielder>
905
906             <open-ils.vandelay>
907                 <keepalive>5</keepalive>
908                 <stateless>1</stateless>
909                 <language>perl</language>
910                 <implementation>OpenILS::Application::Vandelay</implementation>
911                 <max_requests>100</max_requests>
912                 <unix_config>
913                     <unix_sock>vandelay_unix.sock</unix_sock>
914                     <unix_pid>vandelay_unix.pid</unix_pid>
915                     <unix_log>vandelay_unix.log</unix_log>
916                     <max_requests>100</max_requests>
917                     <min_children>1</min_children>
918                     <max_children>15</max_children>
919                     <min_spare_children>1</min_spare_children>
920                     <max_spare_children>5</max_spare_children>
921                 </unix_config>
922                 <app_settings>
923                     <databases>
924                         <!-- temporary location for MARC import files.  
925                             Files will be deleted after records are spooled.
926                             *note:  in a multi-brick environment, this will need to
927                             be on a write-able NFS share.  -->
928                         <importer>/tmp</importer>
929                     </databases>
930                 </app_settings>
931             </open-ils.vandelay>
932
933         </apps>
934     </default>
935
936     <hosts>
937
938         <localhost> 
939             <!-- ^-=- 
940             Should match the fully qualified domain name of the host.
941
942             On Linux, the output of the following command is authoritative:
943             $ perl -MNet::Domain -e 'print Net::Domain::hostfqdn() . "\n";'
944
945             To use 'localhost' instead, run osrf_ctl.sh with the -l flag
946             -->
947
948             <activeapps>
949                 <!-- services hosted on this machine -->
950                 <appname>opensrf.settings</appname> 
951                 <appname>opensrf.math</appname> 
952                 <appname>opensrf.dbmath</appname> 
953                 <appname>open-ils.acq</appname> 
954                 <appname>open-ils.cat</appname> 
955                 <appname>open-ils.supercat</appname> 
956                 <appname>open-ils.search</appname> 
957                 <appname>open-ils.circ</appname> 
958                 <appname>open-ils.actor</appname> 
959                 <appname>open-ils.auth</appname> 
960                 <appname>open-ils.storage</appname>  
961                 <appname>open-ils.penalty</appname>  
962                 <appname>open-ils.cstore</appname>  
963                 <appname>open-ils.collections</appname>  
964                 <appname>open-ils.ingest</appname>  
965                 <appname>open-ils.reporter</appname>  
966                 <appname>open-ils.reporter-store</appname>  
967                 <appname>open-ils.permacrud</appname>  
968                 <appname>open-ils.pcrud</appname>  
969                 <appname>open-ils.trigger</appname>  
970                 <appname>open-ils.fielder</appname>  
971                 <appname>open-ils.vandelay</appname>  
972             </activeapps>
973         </localhost>
974     </hosts>
975
976 </opensrf>