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