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