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