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