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