]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/examples/opensrf.xml.example
added logic for generating a template from the combined overdue data (e.g. xml file...
[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         <dirs>
13             <log>/openils/var/log</log> <!-- unix::server log files -->
14             <sock>/openils/var/sock</sock> <!-- unix::server sock files -->
15             <pid>/openils/var/pid</pid>
16             <xsl>/openils/var/xsl</xsl>
17             <script>/openils/var</script>
18             <script_lib>/openils/var</script_lib>
19         </dirs>
20
21         <!-- global data visibility settings -->
22         <share>
23             <user>
24                 <!-- Set to "true" to require patron opt-in for foreign (non-home_ou) transactions -->
25                 <opt_in>false</opt_in>
26             </user>
27         </share>
28
29         <IDL>/openils/conf/fm_IDL.xml</IDL> <!-- top level IDL file -->
30
31         <server_type>prefork</server_type> <!-- net::server type -->
32
33         <ils_events>/openils/var/data/ils_events.xml</ils_events> <!-- ILS events description file -->
34
35         <email_notify> <!-- this will eventually move into the notifications section below... -->
36             <!-- global email notification settings -->
37             <template>/openils/var/data/hold_notification_template.example</template>
38             <smtp_server>localhost</smtp_server>
39
40             <!--
41             in most cases, this is overridden by location 
42             specific config settings.  this is just the default
43             -->
44             <sender_address>evergreen@localhost</sender_address>
45         </email_notify>
46
47
48       <notifications>
49         <!-- global mail server settings -->
50         <smtp_server>localhost</smtp_server>
51         <sender_address>evergreen@localhost</sender_address>
52
53         <!-- Overdue notices -->
54         <overdue>
55
56             <!-- optionally, you can define a sender address per notice type -->
57             <sender_address>overdue@localhost</sender_address>
58
59             <!-- The system can generate an XML file of overdue notices.  This is the
60                 directory where they are stored.  Files are named overdue.YYYY-MM-DD.xml -->
61             <notice_dir>/openils/var/data/overdue</notice_dir>
62             <combined_template>/openils/var/data/templates/overdue_combined_xml.example</combined_template>
63
64             <notice>
65                 <!-- Notify at 7 days overdue -->
66                 <notify_interval>7 days</notify_interval>
67                 <!-- Options include always, noemail, and never.  'noemail' means a notice
68                      will be appended to the notice file only if the patron has no valid email address.  -->
69                 <file_append>noemail</file_append>
70                 <!-- do we attempt email notification? -->
71                 <email_notify>true</email_notify>
72                 <!-- notice template file -->
73                 <email_template>/openils/var/data/templates/overdue_7day.example</email_template>
74             </notice>
75         </overdue>
76
77         <!-- Courtesy notices -->
78         <predue>
79             <notice>
80                 <!-- All circulations that circulate between 5 and 13 days -->
81                 <circ_duration_range>
82                     <from>5 days</from>
83                     <to>13 days</to>
84                 </circ_duration_range>
85                 <!-- notify at 1 day before the due date -->
86                 <notify_interval>1 day</notify_interval>
87                 <file_append>false</file_append>
88                 <email_notify>true</email_notify>
89                 <email_template>/openils/var/data/templates/predue_1day.example</email_template>
90             </notice>
91         </predue>
92       </notifications>
93
94         <reporter>
95             <!--
96             Settings for the reporter daemon process 
97             -->
98             <setup>
99                 <base_uri>https://localhost/reporter/</base_uri>
100                 <database>
101                     <driver>Pg</driver>
102                     <host>localhost</host>
103                     <port>5432</port>
104                     <db>evergreen</db>
105                     <user>postgres</user>
106                     <pw>postgres</pw>
107                 </database>
108                 <files>
109                     <!-- successful report outputs go here -->
110                     <output_base>/openils/var/web/reporter</output_base>
111                     <success_template>/openils/var/data/report-success</success_template>
112                     <fail_template>/openils/var/data/report-fail</fail_template>
113                 </files>
114             </setup>
115         </reporter>
116
117
118
119         <xml-rpc>
120             <!-- XML-RPC gateway.  Do NOT publish unprotected services here -->
121             <allowed_services>
122                 <!-- list of published services -->
123                 <service>opensrf.math</service>
124                 <service>opensrf.dbmath</service>
125                 <service>open-ils.cat</service>
126                 <service>open-ils.search</service>
127                 <service>open-ils.circ</service>
128                 <service>open-ils.actor</service>
129                 <service>open-ils.auth</service>
130                 <service>open-ils.collections</service>
131             </allowed_services>
132         </xml-rpc>
133
134
135         <z3950>
136             <default>oclc</default>
137             <services>
138
139                 <loc>
140                     <!-- LoC does not require username/password -->
141                     <name>loc</name>
142                     <host>z3950.loc.gov</host>
143                     <port>7090</port>
144                     <db>Voyager</db>
145                     <!-- fetch the full record with no holdings. FI is the default -->
146                     <record_format>FI</record_format> 
147
148                     <!-- Record transmission format from the server.  Supported -->
149                     <!-- formats include usmarc and xml (for marcxml).         -->
150                     <transmission_format>usmarc</transmission_format> 
151
152                     <attrs>
153                         <tcn><code>12</code><format>1</format></tcn>
154                         <isbn><code>7</code><format>6</format></isbn>
155                         <lccn><code>9</code><format>1</format></lccn>
156                         <author><code>1003</code><format>6</format></author>
157                         <title><code>4</code><format>6</format></title>
158                         <issn><code>8</code><format>1</format></issn>
159                         <publisher><code>1018</code><format>6</format></publisher>
160                         <pubdate><code>31</code><format>1</format></pubdate>
161                         <item_type><code>1001</code><format>1</format></item_type>
162                     </attrs>
163                 </loc>
164
165                 <oclc>
166                     <!-- Z3950 settings for OCLC.  Note that OCLC requires username/password -->
167                     <host>zcat.oclc.org</host>
168                     <port>210</port>
169                     <db>OLUCWorldCat</db>
170                     <attrs>
171                         <!--
172                         These are directly from the Bib-1 Attribute Set
173                         http://www.loc.gov/z3950/agency/defns/bib1.html
174                         <code> is the "use attribute", <format> is the "structure attribute"
175                         This just puts some friendly names on the data.
176                         -->
177                         <tcn><code>12</code><format>1</format></tcn>
178                         <isbn><code>7</code><format>6</format></isbn>
179                         <lccn><code>9</code><format>1</format></lccn>
180                         <author><code>1003</code><format>6</format></author>
181                         <title><code>4</code><format>6</format></title>
182                         <issn><code>8</code><format>1</format></issn>
183                         <publisher><code>1018</code><format>6</format></publisher>
184                         <pubdate><code>31</code><format>1</format></pubdate>
185                         <item_type><code>1001</code><format>1</format></item_type>
186                     </attrs>
187                 </oclc>
188
189             </services>
190         </z3950>
191
192
193         <added_content>
194
195             <!-- XXX If you use the Amazon plugin, you must link back to Amazon in the OPAC -->
196
197             <!-- load the Amazon added content module -->
198             <module>OpenILS::WWW::AddedContent::Amazon</module>
199             <!--
200             Base URL for Amazon added content fetching.  This URL may
201             need to be shortened when new (read: non-image) content 
202             fetching capabilities are added
203             -->
204             <base_url>http://images.amazon.com/images/P/</base_url>
205
206             <!--
207             Max number of seconds to wait for an added content request to 
208             return data.  Data not returned within the timeout is considered
209             a failure
210             -->
211             <timeout>4</timeout>
212
213             <!--
214             After added content lookups have been disabled due to too many
215             lookup failures, this is the amount of time to wait before
216             we try again
217             -->
218             <retry_timeout>600</retry_timeout>
219
220             <!--
221             maximum number of consecutive lookup errors a given process can 
222             have before added content lookups are disabled for everyone
223             -->
224             <max_errors>4</max_errors>
225
226             <!-- If a userid is required to access the added content.. -->
227             <userid>MY_USER_ID</userid>
228
229             <!--
230             You can add free-form settings here and they will be accessible
231             within the added content module
232             -->
233
234         </added_content>
235
236
237
238         <!-- no apps are enabled globally by default -->
239         <activeapps/> 
240
241         <cache>
242             <!-- memcache servers -->
243             <global>
244                 <servers>
245                     <server>localhost:11211</server>
246                 </servers>
247                 <max_cache_time>86400</max_cache_time>
248             </global>
249         </cache>
250
251         <apps>
252             <!-- Authentication server -->
253             <open-ils.auth>
254
255                 <!-- how long to wait between stateful requests before the child process re-joins the pool -->
256                 <keepalive>5</keepalive>
257
258                 <!-- true if this service support stateless requests -->
259                 <stateless>1</stateless>
260
261                 <!-- implementation language -->
262                 <language>c</language>
263
264                 <!-- library to plugin -->
265                 <implementation>oils_auth.so</implementation>
266
267                 <!-- maximum required opensrf requests within a stateful connection -->
268                 <max_requests>93</max_requests>
269
270                 <unix_config>
271                     <!--
272                     maximum number of top level requests coming to 
273                     this child before the child is recycled
274                     -->
275                     <max_requests>1000</max_requests>
276                     <!-- min children to fork -->
277                     <min_children>1</min_children>
278                     <!-- max possible children to fork -->
279                     <max_children>15</max_children>
280
281                     <!--
282                     C forking implementation does not support 
283                     min/max idle children, but may in the future
284                     -->
285
286                     <!-- min idle children -->
287                     <min_spare_children>1</min_spare_children>
288                     <!-- max idle children -->
289                     <max_spare_children>5</max_spare_children>
290
291                 </unix_config>
292
293                 <app_settings>
294                     <!-- defined app-specific settings here -->
295                     <default_timeout>
296                         <!-- default login timeouts based on login type -->
297                         <opac>420</opac>
298                         <staff>7200</staff>
299                         <temp>300</temp>
300                     </default_timeout>
301                 </app_settings>
302             </open-ils.auth>
303
304
305             <!-- Generic search server -->
306             <open-ils.search>
307                 <keepalive>5</keepalive>
308                 <stateless>1</stateless>
309                 <language>perl</language>
310                 <implementation>OpenILS::Application::Search</implementation>
311                 <max_requests>93</max_requests>
312                 <unix_config>
313
314                     <!-- the following 3 settings are currently used by Perl services only -->
315                     <unix_sock>open-ils.search_unix.sock</unix_sock>
316                     <unix_pid>open-ils.search_unix.pid</unix_pid>
317                     <unix_log>open-ils.search_unix.log</unix_log>
318
319                     <max_requests>1000</max_requests>
320                     <min_children>1</min_children>
321                     <max_children>15</max_children>
322                     <min_spare_children>1</min_spare_children>
323                     <max_spare_children>5</max_spare_children>
324                 </unix_config>
325                 <app_settings>
326                     <marc_html_xsl>oilsMARC21slim2HTML.xsl</marc_html_xsl>
327                     <!-- Default to using staged search -->
328                     <use_staged_search>true</use_staged_search>
329                     <superpage_size>500</superpage_size>
330                     <max_superpages>20</max_superpages>
331                     <!-- zip code database file -->
332                     <!--<zips_file>/openils/var/data/zips.txt</zips_file>-->
333                 </app_settings>
334             </open-ils.search>
335
336             <!-- server for accessing user info -->
337             <open-ils.actor>
338                 <keepalive>5</keepalive>
339                 <stateless>1</stateless>
340                 <language>perl</language>
341                 <implementation>OpenILS::Application::Actor</implementation>
342                 <max_requests>93</max_requests>
343                 <unix_config>
344                     <unix_sock>open-ils.actor_unix.sock</unix_sock>
345                     <unix_pid>open-ils.actor_unix.pid</unix_pid>
346                     <max_requests>1000</max_requests>
347                     <unix_log>open-ils.actor_unix.log</unix_log>
348                     <min_children>1</min_children>
349                     <max_children>15</max_children>
350                     <min_spare_children>1</min_spare_children>
351                     <max_spare_children>5</max_spare_children>
352                 </unix_config>
353             </open-ils.actor>
354
355
356             <open-ils.cat>
357                 <keepalive>5</keepalive>
358                 <stateless>1</stateless>
359                 <language>perl</language>
360                 <implementation>OpenILS::Application::Cat</implementation>
361                 <max_requests>199</max_requests>
362                 <unix_config>
363                     <unix_sock>open-ils.cat_unix.sock</unix_sock>
364                     <unix_pid>open-ils.cat_unix.pid</unix_pid>
365                     <max_requests>1000</max_requests>
366                     <unix_log>open-ils.cat_unix.log</unix_log>
367                     <min_children>1</min_children>
368                     <max_children>15</max_children>
369                     <min_spare_children>1</min_spare_children>
370                     <max_spare_children>5</max_spare_children>
371                 </unix_config>
372                 <app_settings>
373                     <marctemplates>
374                         <K_book>/openils/var/templates/marc/k_book.xml</K_book>
375                     </marctemplates>
376                 </app_settings>
377             </open-ils.cat>
378
379             <open-ils.supercat>
380                 <keepalive>5</keepalive>
381                 <stateless>1</stateless>
382                 <language>perl</language>
383                 <implementation>OpenILS::Application::SuperCat</implementation>
384                 <max_requests>199</max_requests>
385                 <unix_config>
386                     <unix_sock>open-ils.supercat_unix.sock</unix_sock>
387                     <unix_pid>open-ils.supercat_unix.pid</unix_pid>
388                     <max_requests>1000</max_requests>
389                     <unix_log>open-ils.supercat_unix.log</unix_log>
390                     <min_children>1</min_children>
391                     <max_children>15</max_children>
392                     <min_spare_children>1</min_spare_children>
393                     <max_spare_children>5</max_spare_children>
394                 </unix_config>
395             </open-ils.supercat>
396
397
398             <opensrf.math>
399                 <keepalive>3</keepalive>
400                 <stateless>1</stateless>
401                 <language>c</language>
402                 <implementation>osrf_math.so</implementation>
403                 <max_requests>97</max_requests>
404                 <unix_config>
405                     <unix_sock>opensrf.math_unix.sock</unix_sock>
406                     <unix_pid>opensrf.math_unix.pid</unix_pid>
407                     <max_requests>1000</max_requests>
408                     <unix_log>opensrf.math_unix.log</unix_log>
409                     <min_children>1</min_children>
410                     <max_children>15</max_children>
411                     <min_spare_children>1</min_spare_children>
412                     <max_spare_children>5</max_spare_children>
413                 </unix_config>
414             </opensrf.math>
415
416             <opensrf.dbmath> 
417                 <keepalive>3</keepalive>
418                 <stateless>1</stateless>
419                 <language>c</language>
420                 <implementation>osrf_dbmath.so</implementation>
421                 <max_requests>99</max_requests>
422                 <unix_config>
423                     <max_requests>1000</max_requests>
424                     <unix_log>opensrf.dbmath_unix.log</unix_log>
425                     <unix_sock>opensrf.dbmath_unix.sock</unix_sock>
426                     <unix_pid>opensrf.dbmath_unix.pid</unix_pid>
427                     <min_children>1</min_children>
428                     <max_children>15</max_children>
429                     <min_spare_children>1</min_spare_children> 
430                     <max_spare_children>5</max_spare_children>
431                 </unix_config>
432             </opensrf.dbmath>
433
434             <open-ils.penalty>
435                 <keepalive>3</keepalive>
436                 <stateless>1</stateless>
437                 <language>perl</language>
438                 <implementation>OpenILS::Application::Penalty</implementation>
439                 <max_requests>99</max_requests>
440                 <unix_config>
441                     <max_requests>1000</max_requests>
442                     <unix_log>open-ils.penalty_unix.log</unix_log>
443                     <unix_sock>open-ils.penalty_unix.sock</unix_sock>
444                     <unix_pid>open-ils.penalty_unix.pid</unix_pid>
445                     <min_children>1</min_children>
446                     <max_children>15</max_children>
447                     <min_spare_children>1</min_spare_children>
448                     <max_spare_children>5</max_spare_children>
449                 </unix_config>
450                 <app_settings>
451                     <patron_penalty>penalty/patron_penalty.js</patron_penalty>
452                     <script_path>/openils/lib/javascript</script_path>
453                     <script_path>/openils/var</script_path>
454                     <script_path>/openils/var/catalog</script_path>
455                 </app_settings>
456             </open-ils.penalty>
457
458             <open-ils.circ> 
459                 <keepalive>3</keepalive>
460                 <stateless>1</stateless>
461                 <language>perl</language>
462                 <implementation>OpenILS::Application::Circ</implementation>
463                 <max_requests>99</max_requests>
464                 <unix_config>
465                     <max_requests>1000</max_requests>
466                     <unix_log>open-ils.circ_unix.log</unix_log>
467                     <unix_sock>open-ils.circ_unix.sock</unix_sock>
468                     <unix_pid>open-ils.circ_unix.pid</unix_pid>
469                     <min_children>1</min_children>
470                     <max_children>15</max_children>
471                     <min_spare_children>1</min_spare_children> 
472                     <max_spare_children>5</max_spare_children>
473                 </unix_config>
474                 <app_settings>
475                     <notify_hold>
476                         <email>false</email> <!-- set to true for hold notice emails -->
477                     </notify_hold>
478
479                     <!-- circulation policy scripts -->
480                     <script_path>/openils/lib/javascript</script_path>
481                     <script_path>/openils/var</script_path>
482                     <script_path>/openils/var/catalog</script_path>
483                     <legacy_script_support>false</legacy_script_support>
484                     <scripts> 
485                         <circ_permit_patron>circ/circ_permit_patron.js</circ_permit_patron>
486                         <circ_permit_copy>circ/circ_permit_copy.js</circ_permit_copy>
487                         <circ_duration>circ/circ_duration.js</circ_duration>
488                         <circ_recurring_fines>circ/circ_recurring_fines.js</circ_recurring_fines>
489                         <circ_max_fines>circ/circ_max_fines.js</circ_max_fines>
490                         <circ_permit_renew>circ/circ_permit_renew.js</circ_permit_renew>
491                         <circ_permit_hold>circ/circ_permit_hold.js</circ_permit_hold>
492                     </scripts>               
493
494                     <circ_modifiers>
495                         <mod>art</mod>
496                         <mod>atlas</mod>
497                         <mod>audiobook</mod>
498                         <mod>av</mod>
499                         <mod>new-av</mod>
500                         <mod>bestseller</mod>
501                         <mod>bestsellernh</mod>
502                         <mod>book</mod>
503                         <mod>cd</mod>
504                         <mod>dvd</mod>
505                         <mod>dvd-long</mod>
506                         <mod>e-book</mod>
507                         <mod>equipment</mod>
508                         <mod>filmstrip</mod>
509                         <mod>kit</mod>
510                         <mod>magazine</mod>
511                         <mod>map</mod>
512                         <mod>microform</mod>
513                         <mod>music</mod>
514                         <mod>record</mod>
515                         <mod>software</mod>
516                         <mod>softwrlong</mod>
517                         <mod>equip-long</mod>
518                         <mod>talking book</mod>
519                         <mod>toy</mod>
520                         <mod>video</mod>
521                         <mod>video-long</mod>
522                     </circ_modifiers>
523
524                     <billing_types>
525                         <type>Miscellaneous</type>
526                         <type>Overdue materials</type>
527                         <type>Fee for placing a hold</type>
528                         <type>Fee for checking out a book</type>
529                         <type>Fee for library card</type>
530                         <type>Miscellaneous charges</type>
531                         <type>Lost materials</type>
532                         <type>Damaged material</type>
533                         <type>Overdue Reserves charge</type>
534                         <type>Recall overdue</type>
535                         <type>Fee for processing lost library materials</type>
536                         <type>Fee for sending patron bills to collection agency</type>
537                         <type>Fee for interlibrary loan</type>
538                         <type>Fee for copies</type>
539                         <type>Money advanced to pay for telephone use</type>
540                         <type>Deposit fee</type>
541                         <type>Fee for disk</type>
542                         <type>Fee for faxing</type>
543                         <type>Fee for laminating</type>
544                         <type>Fee for room cleaning</type>
545                         <type>Deposit returned; fee refund</type>
546                         <type>Sale items</type>
547                         <type>Fee for lost card</type>
548                         <type>Long overdue items</type>
549                         <type>Lost/Replacement Cassette</type>
550                         <type>Returned Check</type>
551                     </billing_types>
552                 </app_settings>
553             </open-ils.circ>
554
555             <open-ils.ingest>
556                 <keepalive>3</keepalive>
557                 <stateless>1</stateless>
558                 <implementation>OpenILS::Application::Ingest</implementation>
559                 <language>perl</language>
560                 <max_requests>1000000</max_requests>
561                 <unix_config>
562                     <max_requests>1000000</max_requests>
563                     <unix_log>open-ils.ingest-unix.log</unix_log>
564                     <unix_sock>open-ils.ingest-unix.sock</unix_sock>
565                     <unix_pid>open-ils.ingest-unix.pid</unix_pid>
566                     <min_children>5</min_children>
567                     <max_children>20</max_children>
568                     <min_spare_children>2</min_spare_children>
569                     <max_spare_children>5</max_spare_children>
570                 </unix_config>
571                 <app_settings>
572                     <script_path>/openils/lib/javascript/</script_path>
573                     <script_path>/openils/var/catalog/</script_path>
574                     <script_path>/openils/var/web/opac/common/js/</script_path>
575                     <scripts>
576                         <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
577                         <biblio_descriptor>biblio_descriptor.js</biblio_descriptor>
578                     </scripts>
579                 </app_settings>
580             </open-ils.ingest>
581
582             <open-ils.storage>
583                 <keepalive>10</keepalive>
584                 <stateless>1</stateless>
585                 <language>perl</language>
586                 <implementation>OpenILS::Application::Storage</implementation>
587                 <unix_config>
588                     <max_requests>1000</max_requests>
589                     <unix_log>openils.storage_unix.log</unix_log>
590                     <unix_sock>openils.storage_unix.sock</unix_sock>
591                     <unix_pid>openils.storage_unix.pid</unix_pid>
592                     <min_children>1</min_children>
593                     <max_children>10</max_children>
594                     <min_spare_children>1</min_spare_children>
595                     <max_spare_children>5</max_spare_children>
596                 </unix_config>
597                 <app_settings>
598                     <script_path>/openils/lib/javascript/</script_path>
599                     <script_path>/openils/var/catalog/</script_path>
600                     <scripts>
601                         <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
602                     </scripts>
603                     <databases>
604                         <driver>Pg</driver>
605                         <database>
606                             <type>master</type>
607                             <weight>2</weight>
608                             <user>postgres</user>
609                             <host>localhost</host>
610                             <port>5432</port>
611                             <pw>postgres</pw>
612                             <db>evergreen</db>
613                             <client_encoding>UTF-8</client_encoding>
614                         </database>
615                     </databases>
616                 </app_settings>
617             </open-ils.storage>
618
619
620             <open-ils.cstore>
621                 <keepalive>6</keepalive>
622                 <stateless>1</stateless>
623                 <language>C</language>
624                 <implementation>oils_cstore.so</implementation>
625                 <max_requests>95</max_requests>
626                 <unix_config>
627                     <max_requests>400</max_requests>
628                     <min_children>1</min_children>
629                     <max_children>15</max_children>
630                     <min_spare_children>1</min_spare_children>
631                     <max_spare_children>5</max_spare_children>
632                 </unix_config>
633                 <app_settings>
634                     <max_query_recursion>100</max_query_recursion>
635                     <driver>pgsql</driver>
636                     <database>
637                         <type>master</type>
638                         <weight>2</weight>
639                         <user>postgres</user>
640                         <host>localhost</host>
641                         <port>5432</port>
642                         <pw>postgres</pw>
643                         <db>evergreen</db>
644                         <client_encoding>UTF-8</client_encoding>
645                     </database>
646                 </app_settings>
647             </open-ils.cstore>
648
649
650
651             <opensrf.settings>
652                 <keepalive>1</keepalive>
653                 <stateless>1</stateless>
654                 <language>perl</language>
655                 <implementation>OpenSRF::Application::Settings</implementation>
656                 <max_requests>17</max_requests>
657                 <unix_config>
658                     <unix_sock>opensrf.settings_unix.sock</unix_sock>
659                     <unix_pid>opensrf.settings_unix.pid</unix_pid>
660                     <max_requests>300</max_requests>
661                     <unix_log>opensrf.settings_unix.log</unix_log>
662                     <min_children>5</min_children>
663                     <max_children>15</max_children>
664                     <min_spare_children>3</min_spare_children>
665                     <max_spare_children>5</max_spare_children>
666                 </unix_config>
667             </opensrf.settings>
668
669             <open-ils.collections>
670                 <keepalive>3</keepalive>
671                 <stateless>1</stateless>
672                 <language>perl</language>
673                 <implementation>OpenILS::Application::Collections</implementation>
674                 <max_requests>17</max_requests>
675                 <unix_config>
676                     <unix_sock>openils.collections_unix.sock</unix_sock>
677                     <unix_pid>openils.collections_unix.pid</unix_pid>
678                     <max_requests>1000</max_requests>
679                     <unix_log>openils.collections_unix.log</unix_log>
680                     <min_children>1</min_children>
681                     <max_children>10</max_children>
682                     <min_spare_children>1</min_spare_children>
683                     <max_spare_children>5</max_spare_children>
684                 </unix_config>
685             </open-ils.collections>
686
687             <open-ils.reporter>
688                 <keepalive>3</keepalive>
689                 <stateless>1</stateless>
690                 <language>perl</language>
691                 <implementation>OpenILS::Application::Reporter</implementation>
692                 <max_requests>99</max_requests>
693                 <unix_config>
694                     <unix_sock>openils.reporter_unix.sock</unix_sock>
695                     <unix_pid>openils.reporter_unix.pid</unix_pid>
696                     <max_requests>1000</max_requests>
697                     <unix_log>openils.reporter_unix.log</unix_log>
698                     <min_children>1</min_children>
699                     <max_children>10</max_children>
700                     <min_spare_children>1</min_spare_children>
701                     <max_spare_children>5</max_spare_children>
702                 </unix_config>
703             </open-ils.reporter>
704
705
706             <open-ils.reporter-store>
707                 <keepalive>6</keepalive>
708                 <stateless>1</stateless>
709                 <language>C</language>
710                 <implementation>oils_rstore.so</implementation>
711                 <max_requests>95</max_requests>
712                 <unix_config>
713                     <max_requests>400</max_requests>
714                     <min_children>1</min_children>
715                     <max_children>10</max_children>
716                     <min_spare_children>1</min_spare_children>
717                     <max_spare_children>5</max_spare_children>
718                 </unix_config>
719                 <app_settings>
720                     <driver>pgsql</driver>
721                     <database>
722                         <type>master</type>
723                         <weight>2</weight>
724                         <user>postgres</user>
725                         <host>localhost</host>
726                         <port>5432</port>
727                         <pw>postgres</pw>
728                         <db>evergreen</db>
729                         <client_encoding>UTF-8</client_encoding>
730                     </database>
731                 </app_settings>
732             </open-ils.reporter-store>
733
734             <open-ils.permacrud>
735                <keepalive>3</keepalive>
736                <stateless>1</stateless>
737                <language>perl</language>
738                <implementation>OpenILS::Application::PermaCrud</implementation>
739                <max_requests>17</max_requests>
740                <unix_config>
741                   <unix_sock>open-ils.permacrud_unix.sock</unix_sock>
742                   <unix_pid>open-ils.permacrud_unix.pid</unix_pid>
743                   <max_requests>1000</max_requests>
744                   <unix_log>open-ils.permacrud_unix.log</unix_log>
745                   <min_children>5</min_children>
746                   <max_children>15</max_children>
747                   <min_spare_children>3</min_spare_children>
748                   <max_spare_children>5</max_spare_children>
749                </unix_config>
750             </open-ils.permacrud>
751
752             <open-ils.fielder>
753                <keepalive>3</keepalive>
754                <stateless>1</stateless>
755                <language>perl</language>
756                <implementation>OpenILS::Application::Fielder</implementation>
757                <max_requests>17</max_requests>
758                <unix_config>
759                   <unix_sock>open-ils.fielder_unix.sock</unix_sock>
760                   <unix_pid>open-ils.fielder_unix.pid</unix_pid>
761                   <max_requests>1000</max_requests>
762                   <unix_log>open-ils.fielder_unix.log</unix_log>
763                   <min_children>5</min_children>
764                   <max_children>15</max_children>
765                   <min_spare_children>3</min_spare_children>
766                   <max_spare_children>5</max_spare_children>
767                </unix_config>
768             </open-ils.fielder>
769
770         </apps>
771     </default>
772
773     <hosts>
774
775         <localhost> 
776             <!-- ^-=- 
777             Should match the fully qualified domain name of the host.
778
779             On Linux, the output of the following command is authoritative:
780             $ perl -MNet::Domain -e 'print Net::Domain::hostfqdn();'
781
782             To use 'localhost' instead, run osrf_ctl.sh with the -l flag
783             -->
784
785             <activeapps>
786                 <!-- services hosted on this machine -->
787                 <appname>opensrf.settings</appname> 
788                 <appname>opensrf.math</appname> 
789                 <appname>opensrf.dbmath</appname> 
790                 <appname>open-ils.cat</appname> 
791                 <appname>open-ils.supercat</appname> 
792                 <appname>open-ils.search</appname> 
793                 <appname>open-ils.circ</appname> 
794                 <appname>open-ils.actor</appname> 
795                 <appname>open-ils.auth</appname> 
796                 <appname>open-ils.storage</appname>  
797                 <appname>open-ils.penalty</appname>  
798                 <appname>open-ils.cstore</appname>  
799                 <appname>open-ils.collections</appname>  
800                 <appname>open-ils.ingest</appname>  
801                 <appname>open-ils.reporter</appname>  
802                 <appname>open-ils.reporter-store</appname>  
803                 <appname>open-ils.permacrud</appname>  
804                 <appname>open-ils.fielder</appname>  
805             </activeapps>
806         </localhost>
807     </hosts>
808
809 </opensrf>