]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/examples/opensrf.xml.example
9c77656af6ba9fc29eb807d5cec4834ad94310a2
[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/var</script_path>
381                     <script_path>/openils/var/catalog</script_path>
382                 </app_settings>
383             </open-ils.penalty>
384
385             <open-ils.circ> 
386                 <keepalive>3</keepalive>
387                 <stateless>1</stateless>
388                 <language>perl</language>
389                 <implementation>OpenILS::Application::Circ</implementation>
390                 <max_requests>99</max_requests>
391                 <unix_config>
392                     <max_requests>1000</max_requests>
393                     <unix_log>open-ils.circ_unix.log</unix_log>
394                     <unix_sock>open-ils.circ_unix.sock</unix_sock>
395                     <unix_pid>open-ils.circ_unix.pid</unix_pid>
396                     <min_children>1</min_children>
397                     <max_children>15</max_children>
398                     <min_spare_children>1</min_spare_children> 
399                     <max_spare_children>5</max_spare_children>
400                 </unix_config>
401                 <app_settings>
402                     <notify_hold>
403                         <email>false</email> <!-- set to true for hold notice emails -->
404                     </notify_hold>
405
406                     <!-- circulation policy scripts -->
407                     <script_path>/openils/var</script_path>
408                     <script_path>/openils/var/catalog</script_path>
409                     <scripts> 
410                         <circ_permit_patron>circ/circ_permit_patron.js</circ_permit_patron>
411                         <circ_permit_copy>circ/circ_permit_copy.js</circ_permit_copy>
412                         <circ_duration>circ/circ_duration.js</circ_duration>
413                         <circ_recurring_fines>circ/circ_recurring_fines.js</circ_recurring_fines>
414                         <circ_max_fines>circ/circ_max_fines.js</circ_max_fines>
415                         <circ_permit_renew>circ/circ_permit_renew.js</circ_permit_renew>
416                         <circ_permit_hold>circ/circ_permit_hold.js</circ_permit_hold>
417                     </scripts>               
418
419                     <circ_modifiers>
420                         <mod>art</mod>
421                         <mod>atlas</mod>
422                         <mod>audiobook</mod>
423                         <mod>av</mod>
424                         <mod>new-av</mod>
425                         <mod>bestseller</mod>
426                         <mod>bestsellernh</mod>
427                         <mod>book</mod>
428                         <mod>cd</mod>
429                         <mod>dvd</mod>
430                         <mod>dvd-long</mod>
431                         <mod>e-book</mod>
432                         <mod>equipment</mod>
433                         <mod>filmstrip</mod>
434                         <mod>kit</mod>
435                         <mod>magazine</mod>
436                         <mod>map</mod>
437                         <mod>microform</mod>
438                         <mod>music</mod>
439                         <mod>record</mod>
440                         <mod>software</mod>
441                         <mod>softwrlong</mod>
442                         <mod>equip-long</mod>
443                         <mod>talking book</mod>
444                         <mod>toy</mod>
445                         <mod>video</mod>
446                         <mod>video-long</mod>
447                     </circ_modifiers>
448
449                     <billing_types>
450                         <type>Miscellaneous</type>
451                         <type>Overdue materials</type>
452                         <type>Fee for placing a hold</type>
453                         <type>Fee for checking out a book</type>
454                         <type>Fee for library card</type>
455                         <type>Miscellaneous charges</type>
456                         <type>Lost materials</type>
457                         <type>Damaged material</type>
458                         <type>Overdue Reserves charge</type>
459                         <type>Recall overdue</type>
460                         <type>Fee for processing lost library materials</type>
461                         <type>Fee for sending patron bills to collection agency</type>
462                         <type>Fee for interlibrary loan</type>
463                         <type>Fee for copies</type>
464                         <type>Money advanced to pay for telephone use</type>
465                         <type>Deposit fee</type>
466                         <type>Fee for disk</type>
467                         <type>Fee for faxing</type>
468                         <type>Fee for laminating</type>
469                         <type>Fee for room cleaning</type>
470                         <type>Deposit returned; fee refund</type>
471                         <type>Sale items</type>
472                         <type>Fee for lost card</type>
473                         <type>Long overdue items</type>
474                         <type>Lost/Replacement Cassette</type>
475                         <type>Returned Check</type>
476                     </billing_types>
477                 </app_settings>
478             </open-ils.circ>
479
480             <open-ils.ingest>
481                 <keepalive>3</keepalive>
482                 <stateless>1</stateless>
483                 <implementation>OpenILS::Application::Ingest</implementation>
484                 <language>perl</language>
485                 <max_requests>1000000</max_requests>
486                 <unix_config>
487                     <max_requests>1000000</max_requests>
488                     <unix_log>open-ils.ingest-unix.log</unix_log>
489                     <unix_sock>open-ils.ingest-unix.sock</unix_sock>
490                     <unix_pid>open-ils.ingest-unix.pid</unix_pid>
491                     <min_children>5</min_children>
492                     <max_children>20</max_children>
493                     <min_spare_children>2</min_spare_children>
494                     <max_spare_children>5</max_spare_children>
495                 </unix_config>
496                 <app_settings>
497                     <script_path>/openils/var/catalog/</script_path>
498                     <script_path>/openils/var/web/opac/common/js/</script_path>
499                     <scripts>
500                     <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
501                     <biblio_descriptor>biblio_descriptor.js</biblio_descriptor>
502                     </scripts>
503                 </app_settings>
504             </open-ils.ingest>
505
506             <open-ils.storage>
507                 <keepalive>10</keepalive>
508                 <stateless>1</stateless>
509                 <language>perl</language>
510                 <implementation>OpenILS::Application::Storage</implementation>
511                 <unix_config>
512                     <max_requests>1000</max_requests>
513                     <unix_log>openils.storage_unix.log</unix_log>
514                     <unix_sock>openils.storage_unix.sock</unix_sock>
515                     <unix_pid>openils.storage_unix.pid</unix_pid>
516                     <min_children>1</min_children>
517                     <max_children>10</max_children>
518                     <min_spare_children>1</min_spare_children>
519                     <max_spare_children>5</max_spare_children>
520                 </unix_config>
521                 <app_settings>
522                     <script_path>/openils/var/catalog/</script_path>
523                     <scripts>
524                         <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
525                     </scripts>
526                     <databases>
527                         <driver>Pg</driver>
528                         <database>
529                             <type>master</type>
530                             <weight>2</weight>
531                             <user>postgres</user>
532                             <host>localhost</host>
533                             <port>5432</port>
534                             <pw>postgres</pw>
535                             <db>evergreen</db>
536                             <client_encoding>UTF-8</client_encoding>
537                         </database>
538                     </databases>
539                 </app_settings>
540             </open-ils.storage>
541
542
543             <open-ils.cstore>
544                 <keepalive>6</keepalive>
545                 <stateless>1</stateless>
546                 <language>C</language>
547                 <implementation>oils_cstore.so</implementation>
548                 <max_requests>95</max_requests>
549                 <unix_config>
550                     <max_requests>400</max_requests>
551                     <min_children>1</min_children>
552                     <max_children>15</max_children>
553                     <min_spare_children>1</min_spare_children>
554                     <max_spare_children>5</max_spare_children>
555                 </unix_config>
556                 <app_settings>
557                     <max_query_recursion>100</max_query_recursion>
558                     <driver>pgsql</driver>
559                     <database>
560                         <type>master</type>
561                         <weight>2</weight>
562                         <user>postgres</user>
563                         <host>localhost</host>
564                         <port>5432</port>
565                         <pw>postgres</pw>
566                         <db>evergreen</db>
567                         <client_encoding>UTF-8</client_encoding>
568                     </database>
569                 </app_settings>
570             </open-ils.cstore>
571
572
573
574             <opensrf.settings>
575                 <keepalive>1</keepalive>
576                 <stateless>1</stateless>
577                 <language>perl</language>
578                 <implementation>OpenSRF::Application::Settings</implementation>
579                 <max_requests>17</max_requests>
580                 <unix_config>
581                     <unix_sock>opensrf.settings_unix.sock</unix_sock>
582                     <unix_pid>opensrf.settings_unix.pid</unix_pid>
583                     <max_requests>300</max_requests>
584                     <unix_log>opensrf.settings_unix.log</unix_log>
585                     <min_children>5</min_children>
586                     <max_children>15</max_children>
587                     <min_spare_children>3</min_spare_children>
588                     <max_spare_children>5</max_spare_children>
589                 </unix_config>
590             </opensrf.settings>
591
592             <open-ils.collections>
593                 <keepalive>3</keepalive>
594                 <stateless>1</stateless>
595                 <language>perl</language>
596                 <implementation>OpenILS::Application::Collections</implementation>
597                 <max_requests>17</max_requests>
598                 <unix_config>
599                     <unix_sock>openils.collections_unix.sock</unix_sock>
600                     <unix_pid>openils.collections_unix.pid</unix_pid>
601                     <max_requests>1000</max_requests>
602                     <unix_log>openils.collections_unix.log</unix_log>
603                     <min_children>1</min_children>
604                     <max_children>10</max_children>
605                     <min_spare_children>1</min_spare_children>
606                     <max_spare_children>5</max_spare_children>
607                 </unix_config>
608             </open-ils.collections>
609
610             <open-ils.reporter>
611                 <keepalive>3</keepalive>
612                 <stateless>1</stateless>
613                 <language>perl</language>
614                 <implementation>OpenILS::Application::Reporter</implementation>
615                 <max_requests>99</max_requests>
616                 <unix_config>
617                     <unix_sock>openils.reporter_unix.sock</unix_sock>
618                     <unix_pid>openils.reporter_unix.pid</unix_pid>
619                     <max_requests>1000</max_requests>
620                     <unix_log>openils.reporter_unix.log</unix_log>
621                     <min_children>1</min_children>
622                     <max_children>10</max_children>
623                     <min_spare_children>1</min_spare_children>
624                     <max_spare_children>5</max_spare_children>
625                 </unix_config>
626             </open-ils.reporter>
627
628
629             <open-ils.reporter-store>
630                 <keepalive>6</keepalive>
631                 <stateless>1</stateless>
632                 <language>C</language>
633                 <implementation>oils_rstore.so</implementation>
634                 <max_requests>95</max_requests>
635                 <unix_config>
636                     <max_requests>400</max_requests>
637                     <min_children>1</min_children>
638                     <max_children>10</max_children>
639                     <min_spare_children>1</min_spare_children>
640                     <max_spare_children>5</max_spare_children>
641                 </unix_config>
642                 <app_settings>
643                     <driver>pgsql</driver>
644                     <database>
645                         <type>master</type>
646                         <weight>2</weight>
647                         <user>postgres</user>
648                         <host>localhost</host>
649                         <port>5432</port>
650                         <pw>postgres</pw>
651                         <db>evergreen</db>
652                         <client_encoding>UTF-8</client_encoding>
653                     </database>
654                 </app_settings>
655             </open-ils.reporter-store>
656
657
658         </apps>
659     </default>
660
661     <hosts>
662
663         <localhost> 
664             <!-- ^-=- 
665                 Should match the fully qualified domain name of the host.
666
667                 On Linux, the output of the following command is authoritative:
668                   $ perl -MNet::Domain -e 'print Net::Domain::hostfqdn();'
669
670                 To use 'localhost' instead, run osrf_ctl.sh with the -l flag
671             -->
672
673             <activeapps>
674                 <!-- services hosted on this machine -->
675                 <appname>opensrf.settings</appname> 
676                 <appname>opensrf.math</appname> 
677                 <appname>opensrf.dbmath</appname> 
678                 <appname>open-ils.cat</appname> 
679                 <appname>open-ils.supercat</appname> 
680                 <appname>open-ils.search</appname> 
681                 <appname>open-ils.circ</appname> 
682                 <appname>open-ils.actor</appname> 
683                 <appname>open-ils.auth</appname> 
684                 <appname>open-ils.storage</appname>  
685                 <appname>open-ils.penalty</appname>  
686                 <appname>open-ils.cstore</appname>  
687                 <appname>open-ils.collections</appname>  
688                 <appname>open-ils.ingest</appname>  
689                 <appname>open-ils.reporter</appname>  
690                 <appname>open-ils.reporter-store</appname>  
691             </activeapps>
692         </localhost>
693     </hosts>
694
695 </opensrf>