3d9724db52191657667af338551d64b468230815
[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                     <!-- zip code database file -->
277                     <!--<zips_file>/openils/var/data/zips.txt</zips_file>-->
278                 </app_settings>
279             </open-ils.search>
280
281             <!-- server for accessing user info -->
282             <open-ils.actor>
283                 <keepalive>5</keepalive>
284                 <stateless>1</stateless>
285                 <language>perl</language>
286                 <implementation>OpenILS::Application::Actor</implementation>
287                 <max_requests>93</max_requests>
288                 <unix_config>
289                     <unix_sock>open-ils.actor_unix.sock</unix_sock>
290                     <unix_pid>open-ils.actor_unix.pid</unix_pid>
291                     <max_requests>1000</max_requests>
292                     <unix_log>open-ils.actor_unix.log</unix_log>
293                     <min_children>1</min_children>
294                     <max_children>15</max_children>
295                     <min_spare_children>1</min_spare_children>
296                     <max_spare_children>5</max_spare_children>
297                 </unix_config>
298             </open-ils.actor>
299
300
301             <open-ils.cat>
302                 <keepalive>5</keepalive>
303                 <stateless>1</stateless>
304                 <language>perl</language>
305                 <implementation>OpenILS::Application::Cat</implementation>
306                 <max_requests>199</max_requests>
307                 <unix_config>
308                     <unix_sock>open-ils.cat_unix.sock</unix_sock>
309                     <unix_pid>open-ils.cat_unix.pid</unix_pid>
310                     <max_requests>1000</max_requests>
311                     <unix_log>open-ils.cat_unix.log</unix_log>
312                     <min_children>1</min_children>
313                     <max_children>15</max_children>
314                     <min_spare_children>1</min_spare_children>
315                     <max_spare_children>5</max_spare_children>
316                 </unix_config>
317                 <app_settings>
318                     <marctemplates>
319                         <K_book>/openils/var/templates/marc/k_book.xml</K_book>
320                     </marctemplates>
321                 </app_settings>
322             </open-ils.cat>
323
324             <open-ils.supercat>
325                 <keepalive>5</keepalive>
326                 <stateless>1</stateless>
327                 <language>perl</language>
328                 <implementation>OpenILS::Application::SuperCat</implementation>
329                 <max_requests>199</max_requests>
330                 <unix_config>
331                     <unix_sock>open-ils.supercat_unix.sock</unix_sock>
332                     <unix_pid>open-ils.supercat_unix.pid</unix_pid>
333                     <max_requests>1000</max_requests>
334                     <unix_log>open-ils.supercat_unix.log</unix_log>
335                     <min_children>1</min_children>
336                     <max_children>15</max_children>
337                     <min_spare_children>1</min_spare_children>
338                     <max_spare_children>5</max_spare_children>
339                 </unix_config>
340             </open-ils.supercat>
341
342
343             <opensrf.math>
344                 <keepalive>3</keepalive>
345                 <stateless>1</stateless>
346                 <language>c</language>
347                 <implementation>osrf_math.so</implementation>
348                 <max_requests>97</max_requests>
349                 <unix_config>
350                     <unix_sock>opensrf.math_unix.sock</unix_sock>
351                     <unix_pid>opensrf.math_unix.pid</unix_pid>
352                     <max_requests>1000</max_requests>
353                     <unix_log>opensrf.math_unix.log</unix_log>
354                     <min_children>1</min_children>
355                     <max_children>15</max_children>
356                     <min_spare_children>1</min_spare_children>
357                     <max_spare_children>5</max_spare_children>
358                 </unix_config>
359             </opensrf.math>
360
361             <opensrf.dbmath> 
362                 <keepalive>3</keepalive>
363                 <stateless>1</stateless>
364                 <language>c</language>
365                 <implementation>osrf_dbmath.so</implementation>
366                 <max_requests>99</max_requests>
367                 <unix_config>
368                     <max_requests>1000</max_requests>
369                     <unix_log>opensrf.dbmath_unix.log</unix_log>
370                     <unix_sock>opensrf.dbmath_unix.sock</unix_sock>
371                     <unix_pid>opensrf.dbmath_unix.pid</unix_pid>
372                     <min_children>1</min_children>
373                     <max_children>15</max_children>
374                     <min_spare_children>1</min_spare_children> 
375                     <max_spare_children>5</max_spare_children>
376                 </unix_config>
377             </opensrf.dbmath>
378
379             <open-ils.penalty>
380                 <keepalive>3</keepalive>
381                 <stateless>1</stateless>
382                 <language>perl</language>
383                 <implementation>OpenILS::Application::Penalty</implementation>
384                 <max_requests>99</max_requests>
385                 <unix_config>
386                     <max_requests>1000</max_requests>
387                     <unix_log>open-ils.penalty_unix.log</unix_log>
388                     <unix_sock>open-ils.penalty_unix.sock</unix_sock>
389                     <unix_pid>open-ils.penalty_unix.pid</unix_pid>
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                 <app_settings>
396                     <patron_penalty>penalty/patron_penalty.js</patron_penalty>
397                     <script_path>/openils/lib/javascript</script_path>
398                     <script_path>/openils/var</script_path>
399                     <script_path>/openils/var/catalog</script_path>
400                 </app_settings>
401             </open-ils.penalty>
402
403             <open-ils.circ> 
404                 <keepalive>3</keepalive>
405                 <stateless>1</stateless>
406                 <language>perl</language>
407                 <implementation>OpenILS::Application::Circ</implementation>
408                 <max_requests>99</max_requests>
409                 <unix_config>
410                     <max_requests>1000</max_requests>
411                     <unix_log>open-ils.circ_unix.log</unix_log>
412                     <unix_sock>open-ils.circ_unix.sock</unix_sock>
413                     <unix_pid>open-ils.circ_unix.pid</unix_pid>
414                     <min_children>1</min_children>
415                     <max_children>15</max_children>
416                     <min_spare_children>1</min_spare_children> 
417                     <max_spare_children>5</max_spare_children>
418                 </unix_config>
419                 <app_settings>
420                     <notify_hold>
421                         <email>false</email> <!-- set to true for hold notice emails -->
422                     </notify_hold>
423
424                     <!-- circulation policy scripts -->
425                     <script_path>/openils/lib/javascript</script_path>
426                     <script_path>/openils/var</script_path>
427                     <script_path>/openils/var/catalog</script_path>
428                     <scripts> 
429                         <circ_permit_patron>circ/circ_permit_patron.js</circ_permit_patron>
430                         <circ_permit_copy>circ/circ_permit_copy.js</circ_permit_copy>
431                         <circ_duration>circ/circ_duration.js</circ_duration>
432                         <circ_recurring_fines>circ/circ_recurring_fines.js</circ_recurring_fines>
433                         <circ_max_fines>circ/circ_max_fines.js</circ_max_fines>
434                         <circ_permit_renew>circ/circ_permit_renew.js</circ_permit_renew>
435                         <circ_permit_hold>circ/circ_permit_hold.js</circ_permit_hold>
436                     </scripts>               
437
438                     <circ_modifiers>
439                         <mod>art</mod>
440                         <mod>atlas</mod>
441                         <mod>audiobook</mod>
442                         <mod>av</mod>
443                         <mod>new-av</mod>
444                         <mod>bestseller</mod>
445                         <mod>bestsellernh</mod>
446                         <mod>book</mod>
447                         <mod>cd</mod>
448                         <mod>dvd</mod>
449                         <mod>dvd-long</mod>
450                         <mod>e-book</mod>
451                         <mod>equipment</mod>
452                         <mod>filmstrip</mod>
453                         <mod>kit</mod>
454                         <mod>magazine</mod>
455                         <mod>map</mod>
456                         <mod>microform</mod>
457                         <mod>music</mod>
458                         <mod>record</mod>
459                         <mod>software</mod>
460                         <mod>softwrlong</mod>
461                         <mod>equip-long</mod>
462                         <mod>talking book</mod>
463                         <mod>toy</mod>
464                         <mod>video</mod>
465                         <mod>video-long</mod>
466                     </circ_modifiers>
467
468                     <billing_types>
469                         <type>Miscellaneous</type>
470                         <type>Overdue materials</type>
471                         <type>Fee for placing a hold</type>
472                         <type>Fee for checking out a book</type>
473                         <type>Fee for library card</type>
474                         <type>Miscellaneous charges</type>
475                         <type>Lost materials</type>
476                         <type>Damaged material</type>
477                         <type>Overdue Reserves charge</type>
478                         <type>Recall overdue</type>
479                         <type>Fee for processing lost library materials</type>
480                         <type>Fee for sending patron bills to collection agency</type>
481                         <type>Fee for interlibrary loan</type>
482                         <type>Fee for copies</type>
483                         <type>Money advanced to pay for telephone use</type>
484                         <type>Deposit fee</type>
485                         <type>Fee for disk</type>
486                         <type>Fee for faxing</type>
487                         <type>Fee for laminating</type>
488                         <type>Fee for room cleaning</type>
489                         <type>Deposit returned; fee refund</type>
490                         <type>Sale items</type>
491                         <type>Fee for lost card</type>
492                         <type>Long overdue items</type>
493                         <type>Lost/Replacement Cassette</type>
494                         <type>Returned Check</type>
495                     </billing_types>
496                 </app_settings>
497             </open-ils.circ>
498
499             <open-ils.ingest>
500                 <keepalive>3</keepalive>
501                 <stateless>1</stateless>
502                 <implementation>OpenILS::Application::Ingest</implementation>
503                 <language>perl</language>
504                 <max_requests>1000000</max_requests>
505                 <unix_config>
506                     <max_requests>1000000</max_requests>
507                     <unix_log>open-ils.ingest-unix.log</unix_log>
508                     <unix_sock>open-ils.ingest-unix.sock</unix_sock>
509                     <unix_pid>open-ils.ingest-unix.pid</unix_pid>
510                     <min_children>5</min_children>
511                     <max_children>20</max_children>
512                     <min_spare_children>2</min_spare_children>
513                     <max_spare_children>5</max_spare_children>
514                 </unix_config>
515                 <app_settings>
516                     <script_path>/openils/lib/javascript/</script_path>
517                     <script_path>/openils/var/catalog/</script_path>
518                     <script_path>/openils/var/web/opac/common/js/</script_path>
519                     <scripts>
520                         <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
521                         <biblio_descriptor>biblio_descriptor.js</biblio_descriptor>
522                     </scripts>
523                 </app_settings>
524             </open-ils.ingest>
525
526             <open-ils.storage>
527                 <keepalive>10</keepalive>
528                 <stateless>1</stateless>
529                 <language>perl</language>
530                 <implementation>OpenILS::Application::Storage</implementation>
531                 <unix_config>
532                     <max_requests>1000</max_requests>
533                     <unix_log>openils.storage_unix.log</unix_log>
534                     <unix_sock>openils.storage_unix.sock</unix_sock>
535                     <unix_pid>openils.storage_unix.pid</unix_pid>
536                     <min_children>1</min_children>
537                     <max_children>10</max_children>
538                     <min_spare_children>1</min_spare_children>
539                     <max_spare_children>5</max_spare_children>
540                 </unix_config>
541                 <app_settings>
542                     <script_path>/openils/lib/javascript/</script_path>
543                     <script_path>/openils/var/catalog/</script_path>
544                     <scripts>
545                         <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
546                     </scripts>
547                     <databases>
548                         <driver>Pg</driver>
549                         <database>
550                             <type>master</type>
551                             <weight>2</weight>
552                             <user>postgres</user>
553                             <host>localhost</host>
554                             <port>5432</port>
555                             <pw>postgres</pw>
556                             <db>evergreen</db>
557                             <client_encoding>UTF-8</client_encoding>
558                         </database>
559                     </databases>
560                 </app_settings>
561             </open-ils.storage>
562
563
564             <open-ils.cstore>
565                 <keepalive>6</keepalive>
566                 <stateless>1</stateless>
567                 <language>C</language>
568                 <implementation>oils_cstore.so</implementation>
569                 <max_requests>95</max_requests>
570                 <unix_config>
571                     <max_requests>400</max_requests>
572                     <min_children>1</min_children>
573                     <max_children>15</max_children>
574                     <min_spare_children>1</min_spare_children>
575                     <max_spare_children>5</max_spare_children>
576                 </unix_config>
577                 <app_settings>
578                     <max_query_recursion>100</max_query_recursion>
579                     <driver>pgsql</driver>
580                     <database>
581                         <type>master</type>
582                         <weight>2</weight>
583                         <user>postgres</user>
584                         <host>localhost</host>
585                         <port>5432</port>
586                         <pw>postgres</pw>
587                         <db>evergreen</db>
588                         <client_encoding>UTF-8</client_encoding>
589                     </database>
590                 </app_settings>
591             </open-ils.cstore>
592
593
594
595             <opensrf.settings>
596                 <keepalive>1</keepalive>
597                 <stateless>1</stateless>
598                 <language>perl</language>
599                 <implementation>OpenSRF::Application::Settings</implementation>
600                 <max_requests>17</max_requests>
601                 <unix_config>
602                     <unix_sock>opensrf.settings_unix.sock</unix_sock>
603                     <unix_pid>opensrf.settings_unix.pid</unix_pid>
604                     <max_requests>300</max_requests>
605                     <unix_log>opensrf.settings_unix.log</unix_log>
606                     <min_children>5</min_children>
607                     <max_children>15</max_children>
608                     <min_spare_children>3</min_spare_children>
609                     <max_spare_children>5</max_spare_children>
610                 </unix_config>
611             </opensrf.settings>
612
613             <open-ils.collections>
614                 <keepalive>3</keepalive>
615                 <stateless>1</stateless>
616                 <language>perl</language>
617                 <implementation>OpenILS::Application::Collections</implementation>
618                 <max_requests>17</max_requests>
619                 <unix_config>
620                     <unix_sock>openils.collections_unix.sock</unix_sock>
621                     <unix_pid>openils.collections_unix.pid</unix_pid>
622                     <max_requests>1000</max_requests>
623                     <unix_log>openils.collections_unix.log</unix_log>
624                     <min_children>1</min_children>
625                     <max_children>10</max_children>
626                     <min_spare_children>1</min_spare_children>
627                     <max_spare_children>5</max_spare_children>
628                 </unix_config>
629             </open-ils.collections>
630
631             <open-ils.reporter>
632                 <keepalive>3</keepalive>
633                 <stateless>1</stateless>
634                 <language>perl</language>
635                 <implementation>OpenILS::Application::Reporter</implementation>
636                 <max_requests>99</max_requests>
637                 <unix_config>
638                     <unix_sock>openils.reporter_unix.sock</unix_sock>
639                     <unix_pid>openils.reporter_unix.pid</unix_pid>
640                     <max_requests>1000</max_requests>
641                     <unix_log>openils.reporter_unix.log</unix_log>
642                     <min_children>1</min_children>
643                     <max_children>10</max_children>
644                     <min_spare_children>1</min_spare_children>
645                     <max_spare_children>5</max_spare_children>
646                 </unix_config>
647             </open-ils.reporter>
648
649
650             <open-ils.reporter-store>
651                 <keepalive>6</keepalive>
652                 <stateless>1</stateless>
653                 <language>C</language>
654                 <implementation>oils_rstore.so</implementation>
655                 <max_requests>95</max_requests>
656                 <unix_config>
657                     <max_requests>400</max_requests>
658                     <min_children>1</min_children>
659                     <max_children>10</max_children>
660                     <min_spare_children>1</min_spare_children>
661                     <max_spare_children>5</max_spare_children>
662                 </unix_config>
663                 <app_settings>
664                     <driver>pgsql</driver>
665                     <database>
666                         <type>master</type>
667                         <weight>2</weight>
668                         <user>postgres</user>
669                         <host>localhost</host>
670                         <port>5432</port>
671                         <pw>postgres</pw>
672                         <db>evergreen</db>
673                         <client_encoding>UTF-8</client_encoding>
674                     </database>
675                 </app_settings>
676             </open-ils.reporter-store>
677
678
679         </apps>
680     </default>
681
682     <hosts>
683
684         <localhost> 
685             <!-- ^-=- 
686             Should match the fully qualified domain name of the host.
687
688             On Linux, the output of the following command is authoritative:
689             $ perl -MNet::Domain -e 'print Net::Domain::hostfqdn();'
690
691             To use 'localhost' instead, run osrf_ctl.sh with the -l flag
692             -->
693
694             <activeapps>
695                 <!-- services hosted on this machine -->
696                 <appname>opensrf.settings</appname> 
697                 <appname>opensrf.math</appname> 
698                 <appname>opensrf.dbmath</appname> 
699                 <appname>open-ils.cat</appname> 
700                 <appname>open-ils.supercat</appname> 
701                 <appname>open-ils.search</appname> 
702                 <appname>open-ils.circ</appname> 
703                 <appname>open-ils.actor</appname> 
704                 <appname>open-ils.auth</appname> 
705                 <appname>open-ils.storage</appname>  
706                 <appname>open-ils.penalty</appname>  
707                 <appname>open-ils.cstore</appname>  
708                 <appname>open-ils.collections</appname>  
709                 <appname>open-ils.ingest</appname>  
710                 <appname>open-ils.reporter</appname>  
711                 <appname>open-ils.reporter-store</appname>  
712             </activeapps>
713         </localhost>
714     </hosts>
715
716 </opensrf>