]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/examples/opensrf.xml.example
Initial attempt to add acquisitions to default configuration
[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         <!-- unless otherwise overidden, use this locale -->
13         <default_locale>en-US</default_locale>
14
15         <dirs>
16             <log>LOCALSTATEDIR/log</log> <!-- unix::server log files -->
17             <sock>LOCALSTATEDIR/lock</sock> <!-- unix::server sock files -->
18             <pid>LOCALSTATEDIR/run</pid>
19             <xsl>LOCALSTATEDIR/xsl</xsl>
20             <script>LOCALSTATEDIR</script>
21             <script_lib>LOCALSTATEDIR</script_lib>
22         </dirs>
23
24         <!-- global data visibility settings -->
25         <share>
26             <user>
27                 <!-- Set to "true" to require patron opt-in for foreign (non-home_ou) transactions -->
28                 <opt_in>false</opt_in>
29             </user>
30         </share>
31
32         <IDL>SYSCONFDIR/fm_IDL.xml</IDL> <!-- top level IDL file -->
33
34         <server_type>prefork</server_type> <!-- net::server type -->
35
36         <ils_events>LOCALSTATEDIR/data/ils_events.xml</ils_events> <!-- ILS events description file -->
37
38         <email_notify> <!-- this will eventually move into the notifications section below... -->
39             <!-- global email notification settings -->
40             <template>LOCALSTATEDIR/data/hold_notification_template.example</template>
41             <smtp_server>localhost</smtp_server>
42
43             <!--
44             in most cases, this is overridden by location 
45             specific config settings.  this is just the default
46             -->
47             <sender_address>evergreen@localhost</sender_address>
48         </email_notify>
49
50
51       <notifications>
52         <!-- global mail server settings -->
53         <smtp_server>localhost</smtp_server>
54         <sender_address>evergreen@localhost</sender_address>
55
56         <!-- Overdue notices -->
57         <overdue>
58
59             <!-- optionally, you can define a sender address per notice type -->
60             <sender_address>overdue@localhost</sender_address>
61
62             <!-- The system can generate an XML file of overdue notices.  This is the
63                 directory where they are stored.  Files are named overdue.YYYY-MM-DD.xml -->
64             <notice_dir>LOCALSTATEDIR/data/overdue</notice_dir>
65             <combined_template>LOCALSTATEDIR/data/templates/overdue_combined_xml.example</combined_template>
66
67             <notice>
68                 <!-- Notify at 7 days overdue -->
69                 <notify_interval>7 days</notify_interval>
70                 <!-- Options include always, noemail, and never.  'noemail' means a notice
71                      will be appended to the notice file only if the patron has no valid email address.  -->
72                 <file_append>noemail</file_append>
73                 <!-- do we attempt email notification? -->
74                 <email_notify>true</email_notify>
75                 <!-- notice template file -->
76                 <email_template>LOCALSTATEDIR/data/templates/overdue_7day.example</email_template>
77             </notice>
78         </overdue>
79
80         <!-- Courtesy notices -->
81         <predue>
82             <notice>
83                 <!-- All circulations that circulate between 5 and 13 days -->
84                 <circ_duration_range>
85                     <from>5 days</from>
86                     <to>13 days</to>
87                 </circ_duration_range>
88                 <!-- notify at 1 day before the due date -->
89                 <notify_interval>1 day</notify_interval>
90                 <file_append>false</file_append>
91                 <email_notify>true</email_notify>
92                 <email_template>LOCALSTATEDIR/data/templates/predue_1day.example</email_template>
93             </notice>
94         </predue>
95       </notifications>
96
97         <reporter>
98             <!--
99             Settings for the reporter daemon process 
100             -->
101             <setup>
102                 <base_uri>https://localhost/reporter/</base_uri>
103                 <database>
104                     <driver>Pg</driver>
105                     <host>localhost</host>
106                     <port>5432</port>
107                     <db>evergreen</db>
108                     <user>postgres</user>
109                     <pw>postgres</pw>
110                 </database>
111                 <files>
112                     <!-- successful report outputs go here -->
113                     <output_base>LOCALSTATEDIR/web/reporter</output_base>
114                     <success_template>LOCALSTATEDIR/data/report-success</success_template>
115                     <fail_template>LOCALSTATEDIR/data/report-fail</fail_template>
116                 </files>
117             </setup>
118         </reporter>
119
120
121
122         <xml-rpc>
123             <!-- XML-RPC gateway.  Do NOT publish unprotected services here -->
124             <allowed_services>
125                 <!-- list of published services -->
126                 <service>opensrf.math</service>
127                 <service>opensrf.dbmath</service>
128                 <service>open-ils.cat</service>
129                 <service>open-ils.search</service>
130                 <service>open-ils.circ</service>
131                 <service>open-ils.actor</service>
132                 <service>open-ils.auth</service>
133                 <service>open-ils.collections</service>
134             </allowed_services>
135         </xml-rpc>
136
137
138         <z3950>
139             <default>oclc</default>
140             <services>
141
142                 <loc>
143                     <!-- LoC does not require username/password -->
144                     <name>loc</name>
145                     <host>z3950.loc.gov</host>
146                     <port>7090</port>
147                     <db>Voyager</db>
148                     <!-- fetch the full record with no holdings. FI is the most common choice -->
149                     <record_format>FI</record_format> 
150
151                     <!-- Record transmission format from the server.  Supported -->
152                     <!-- formats include usmarc and xml (for marcxml).         -->
153                     <transmission_format>usmarc</transmission_format> 
154
155                     <attrs>
156                         <tcn><code>12</code><format>1</format></tcn>
157                         <isbn><code>7</code><format>6</format></isbn>
158                         <lccn><code>9</code><format>1</format></lccn>
159                         <author><code>1003</code><format>6</format></author>
160                         <title><code>4</code><format>6</format></title>
161                         <issn><code>8</code><format>1</format></issn>
162                         <publisher><code>1018</code><format>6</format></publisher>
163                         <pubdate><code>31</code><format>1</format></pubdate>
164                         <item_type><code>1001</code><format>1</format></item_type>
165                     </attrs>
166                 </loc>
167
168                 <oclc>
169                     <!-- Z3950 settings for OCLC.  Note that OCLC requires username/password -->
170                     <host>zcat.oclc.org</host>
171                     <port>210</port>
172                     <db>OLUCWorldCat</db>
173                     <attrs>
174                         <!--
175                         These are directly from the Bib-1 Attribute Set
176                         http://www.loc.gov/z3950/agency/defns/bib1.html
177                         <code> is the "use attribute", <format> is the "structure attribute"
178                         This just puts some friendly names on the data.
179                         -->
180                         <tcn><code>12</code><format>1</format></tcn>
181                         <isbn><code>7</code><format>6</format></isbn>
182                         <lccn><code>9</code><format>1</format></lccn>
183                         <author><code>1003</code><format>6</format></author>
184                         <title><code>4</code><format>6</format></title>
185                         <issn><code>8</code><format>1</format></issn>
186                         <publisher><code>1018</code><format>6</format></publisher>
187                         <pubdate><code>31</code><format>1</format></pubdate>
188                         <item_type><code>1001</code><format>1</format></item_type>
189                     </attrs>
190                 </oclc>
191
192             </services>
193         </z3950>
194
195
196         <added_content>
197
198             <!-- XXX If you use the Amazon plugin, you must link back to Amazon in the OPAC -->
199
200             <!-- load the Amazon added content module -->
201             <module>OpenILS::WWW::AddedContent::Amazon</module>
202             <!--
203             Base URL for Amazon added content fetching.  This URL may
204             need to be shortened when new (read: non-image) content 
205             fetching capabilities are added
206             -->
207             <base_url>http://images.amazon.com/images/P/</base_url>
208
209             <!--
210             Max number of seconds to wait for an added content request to 
211             return data.  Data not returned within the timeout is considered
212             a failure
213             -->
214             <timeout>1</timeout>
215
216             <!--
217             After added content lookups have been disabled due to too many
218             lookup failures, this is the amount of time to wait before
219             we try again
220             -->
221             <retry_timeout>600</retry_timeout>
222
223             <!--
224             maximum number of consecutive lookup errors a given process can 
225             have before added content lookups are disabled for everyone
226             -->
227             <max_errors>15</max_errors>
228
229             <!-- If a userid is required to access the added content.. -->
230             <userid>MY_USER_ID</userid>
231
232             <!--
233             You can add free-form settings here and they will be accessible
234             within the added content module
235             -->
236
237         </added_content>
238
239
240
241         <!-- no apps are enabled globally by default -->
242         <activeapps/> 
243
244         <cache>
245             <!-- memcache servers -->
246             <global>
247                 <servers>
248                     <server>localhost:11211</server>
249                 </servers>
250                 <max_cache_time>86400</max_cache_time>
251             </global>
252         </cache>
253
254         <apps>
255             <!-- Acquisitions server -->
256             <open-ils.acq>
257                 <keepalive>5</keepalive>
258                 <stateless>1</stateless>
259                 <language>perl</language>
260                 <implementation>OpenILS::Application::Acq</implementation>
261                 <max_requests>100</max_requests>
262                 <unix_config>
263                     <unix_sock>open-ils.acq_unix.sock</unix_sock>
264                     <unix_pid>open-ils.acq_unix.pid</unix_pid>
265                     <unix_log>open-ils.acq_unix.log</unix_log>
266                     <max_requests>100</max_requests>
267                     <min_children>1</min_children>
268                     <max_children>15</max_children>
269                     <min_spare_children>1</min_spare_children>
270                     <max_spare_children>5</max_spare_children>
271                 </unix_config>
272             </open-ils.acq>
273
274             <!-- Authentication server -->
275             <open-ils.auth>
276
277                 <!-- how long to wait between stateful requests before the child process re-joins the pool -->
278                 <keepalive>5</keepalive>
279
280                 <!-- true if this service support stateless requests -->
281                 <stateless>1</stateless>
282
283                 <!-- implementation language -->
284                 <language>c</language>
285
286                 <!-- library to plugin -->
287                 <implementation>oils_auth.so</implementation>
288
289                 <!-- maximum required opensrf requests within a stateful connection -->
290                 <max_requests>93</max_requests>
291
292                 <unix_config>
293                     <!--
294                     maximum number of top level requests coming to 
295                     this child before the child is recycled
296                     -->
297                     <max_requests>1000</max_requests>
298                     <!-- min children to fork -->
299                     <min_children>1</min_children>
300                     <!-- max possible children to fork -->
301                     <max_children>15</max_children>
302
303                     <!--
304                     C forking implementation does not support 
305                     min/max idle children, but may in the future
306                     -->
307
308                     <!-- min idle children -->
309                     <min_spare_children>1</min_spare_children>
310                     <!-- max idle children -->
311                     <max_spare_children>5</max_spare_children>
312
313                 </unix_config>
314
315                 <app_settings>
316                     <!-- defined app-specific settings here -->
317                     <default_timeout>
318                         <!-- default login timeouts based on login type -->
319                         <opac>420</opac>
320                         <staff>7200</staff>
321                         <temp>300</temp>
322                     </default_timeout>
323                 </app_settings>
324             </open-ils.auth>
325
326
327             <!-- Generic search server -->
328             <open-ils.search>
329                 <keepalive>5</keepalive>
330                 <stateless>1</stateless>
331                 <language>perl</language>
332                 <implementation>OpenILS::Application::Search</implementation>
333                 <max_requests>93</max_requests>
334                 <unix_config>
335
336                     <!-- the following 3 settings are currently used by Perl services only -->
337                     <unix_sock>open-ils.search_unix.sock</unix_sock>
338                     <unix_pid>open-ils.search_unix.pid</unix_pid>
339                     <unix_log>open-ils.search_unix.log</unix_log>
340
341                     <max_requests>1000</max_requests>
342                     <min_children>1</min_children>
343                     <max_children>15</max_children>
344                     <min_spare_children>1</min_spare_children>
345                     <max_spare_children>5</max_spare_children>
346                 </unix_config>
347                 <app_settings>
348                     <marc_html_xsl>oilsMARC21slim2HTML.xsl</marc_html_xsl>
349                     <marc_html_xsl_slim>oilsMARC21slim2HTMLslim.xsl</marc_html_xsl_slim>
350
351                     <!-- Default to using staged search -->
352                     <use_staged_search>true</use_staged_search>
353
354                     <!--
355                         For staged search, we estimate hits based on inclusion or exclusion.
356
357                         Valid settings:
358                             inclusion - visible ratio on superpage
359                             exclusion - excluded ratio on superpage
360                             delete_adjusted_inclusion - included ratio on superpage, ratio adjusted by deleted count
361                             delete_adjusted_exclusion - excluded ratio on superpage, ratio adjusted by deleted count
362
363                         Under normal circumstances, inclusion is the best strategy, and both delete_adjusted variants
364                         will return the same value +/- 1.  The exclusion strategy is the original, and works well
365                         when there are few deleted or excluded records, in other words, when the superpage is not
366                         sparsely populated with visible records.
367                     -->
368                     <estimation_strategy>inclusion</estimation_strategy>
369
370                     <!-- Baseline number of records to check for hit estimation. -->
371                     <superpage_size>1000</superpage_size>
372
373                     <!-- How many superpages to consider for searching overall. -->
374                     <max_superpages>10</max_superpages>
375
376                     <!-- zip code database file -->
377                     <!--<zips_file>LOCALSTATEDIR/data/zips.txt</zips_file>-->
378                 </app_settings>
379             </open-ils.search>
380
381             <!-- server for accessing user info -->
382             <open-ils.actor>
383                 <keepalive>5</keepalive>
384                 <stateless>1</stateless>
385                 <language>perl</language>
386                 <implementation>OpenILS::Application::Actor</implementation>
387                 <max_requests>93</max_requests>
388                 <unix_config>
389                     <unix_sock>open-ils.actor_unix.sock</unix_sock>
390                     <unix_pid>open-ils.actor_unix.pid</unix_pid>
391                     <max_requests>1000</max_requests>
392                     <unix_log>open-ils.actor_unix.log</unix_log>
393                     <min_children>1</min_children>
394                     <max_children>15</max_children>
395                     <min_spare_children>1</min_spare_children>
396                     <max_spare_children>5</max_spare_children>
397                 </unix_config>
398             </open-ils.actor>
399
400
401             <open-ils.cat>
402                 <keepalive>5</keepalive>
403                 <stateless>1</stateless>
404                 <language>perl</language>
405                 <implementation>OpenILS::Application::Cat</implementation>
406                 <max_requests>199</max_requests>
407                 <unix_config>
408                     <unix_sock>open-ils.cat_unix.sock</unix_sock>
409                     <unix_pid>open-ils.cat_unix.pid</unix_pid>
410                     <max_requests>1000</max_requests>
411                     <unix_log>open-ils.cat_unix.log</unix_log>
412                     <min_children>1</min_children>
413                     <max_children>15</max_children>
414                     <min_spare_children>1</min_spare_children>
415                     <max_spare_children>5</max_spare_children>
416                 </unix_config>
417                 <app_settings>
418                     <marctemplates>
419                         <K_book>LOCALSTATEDIR/templates/marc/k_book.xml</K_book>
420                     </marctemplates>
421                 </app_settings>
422             </open-ils.cat>
423
424             <open-ils.supercat>
425                 <keepalive>5</keepalive>
426                 <stateless>1</stateless>
427                 <language>perl</language>
428                 <implementation>OpenILS::Application::SuperCat</implementation>
429                 <max_requests>199</max_requests>
430                 <unix_config>
431                     <unix_sock>open-ils.supercat_unix.sock</unix_sock>
432                     <unix_pid>open-ils.supercat_unix.pid</unix_pid>
433                     <max_requests>1000</max_requests>
434                     <unix_log>open-ils.supercat_unix.log</unix_log>
435                     <min_children>1</min_children>
436                     <max_children>15</max_children>
437                     <min_spare_children>1</min_spare_children>
438                     <max_spare_children>5</max_spare_children>
439                 </unix_config>
440             </open-ils.supercat>
441
442
443             <opensrf.math>
444                 <keepalive>3</keepalive>
445                 <stateless>1</stateless>
446                 <language>c</language>
447                 <implementation>osrf_math.so</implementation>
448                 <max_requests>97</max_requests>
449                 <unix_config>
450                     <unix_sock>opensrf.math_unix.sock</unix_sock>
451                     <unix_pid>opensrf.math_unix.pid</unix_pid>
452                     <max_requests>1000</max_requests>
453                     <unix_log>opensrf.math_unix.log</unix_log>
454                     <min_children>1</min_children>
455                     <max_children>15</max_children>
456                     <min_spare_children>1</min_spare_children>
457                     <max_spare_children>5</max_spare_children>
458                 </unix_config>
459             </opensrf.math>
460
461             <opensrf.dbmath> 
462                 <keepalive>3</keepalive>
463                 <stateless>1</stateless>
464                 <language>c</language>
465                 <implementation>osrf_dbmath.so</implementation>
466                 <max_requests>99</max_requests>
467                 <unix_config>
468                     <max_requests>1000</max_requests>
469                     <unix_log>opensrf.dbmath_unix.log</unix_log>
470                     <unix_sock>opensrf.dbmath_unix.sock</unix_sock>
471                     <unix_pid>opensrf.dbmath_unix.pid</unix_pid>
472                     <min_children>1</min_children>
473                     <max_children>15</max_children>
474                     <min_spare_children>1</min_spare_children> 
475                     <max_spare_children>5</max_spare_children>
476                 </unix_config>
477             </opensrf.dbmath>
478
479             <open-ils.penalty>
480                 <keepalive>3</keepalive>
481                 <stateless>1</stateless>
482                 <language>perl</language>
483                 <implementation>OpenILS::Application::Penalty</implementation>
484                 <max_requests>99</max_requests>
485                 <unix_config>
486                     <max_requests>1000</max_requests>
487                     <unix_log>open-ils.penalty_unix.log</unix_log>
488                     <unix_sock>open-ils.penalty_unix.sock</unix_sock>
489                     <unix_pid>open-ils.penalty_unix.pid</unix_pid>
490                     <min_children>1</min_children>
491                     <max_children>15</max_children>
492                     <min_spare_children>1</min_spare_children>
493                     <max_spare_children>5</max_spare_children>
494                 </unix_config>
495                 <app_settings>
496                     <patron_penalty>penalty/patron_penalty.js</patron_penalty>
497                     <script_path>LIBDIR/javascript</script_path>
498                     <script_path>LOCALSTATEDIR</script_path>
499                     <script_path>LOCALSTATEDIR/catalog</script_path>
500                 </app_settings>
501             </open-ils.penalty>
502
503             <open-ils.circ> 
504                 <keepalive>3</keepalive>
505                 <stateless>1</stateless>
506                 <language>perl</language>
507                 <implementation>OpenILS::Application::Circ</implementation>
508                 <max_requests>99</max_requests>
509                 <unix_config>
510                     <max_requests>1000</max_requests>
511                     <unix_log>open-ils.circ_unix.log</unix_log>
512                     <unix_sock>open-ils.circ_unix.sock</unix_sock>
513                     <unix_pid>open-ils.circ_unix.pid</unix_pid>
514                     <min_children>1</min_children>
515                     <max_children>15</max_children>
516                     <min_spare_children>1</min_spare_children> 
517                     <max_spare_children>5</max_spare_children>
518                 </unix_config>
519                 <app_settings>
520                     <notify_hold>
521                         <email>false</email> <!-- set to true for hold notice emails -->
522                     </notify_hold>
523
524                     <!-- circulation policy scripts -->
525                     <script_path>LIBDIR/javascript</script_path>
526                     <script_path>LOCALSTATEDIR</script_path>
527                     <script_path>LOCALSTATEDIR/catalog</script_path>
528                     <legacy_script_support>false</legacy_script_support>
529                     <scripts> 
530                         <circ_permit_patron>circ/circ_permit_patron.js</circ_permit_patron>
531                         <circ_permit_copy>circ/circ_permit_copy.js</circ_permit_copy>
532                         <circ_duration>circ/circ_duration.js</circ_duration>
533                         <circ_recurring_fines>circ/circ_recurring_fines.js</circ_recurring_fines>
534                         <circ_max_fines>circ/circ_max_fines.js</circ_max_fines>
535                         <circ_permit_renew>circ/circ_permit_renew.js</circ_permit_renew>
536                         <circ_permit_hold>circ/circ_permit_hold.js</circ_permit_hold>
537                     </scripts>               
538
539                     <circ_modifiers>
540                         <mod>art</mod>
541                         <mod>atlas</mod>
542                         <mod>audiobook</mod>
543                         <mod>av</mod>
544                         <mod>new-av</mod>
545                         <mod>bestseller</mod>
546                         <mod>bestsellernh</mod>
547                         <mod>book</mod>
548                         <mod>cd</mod>
549                         <mod>dvd</mod>
550                         <mod>dvd-long</mod>
551                         <mod>e-book</mod>
552                         <mod>equipment</mod>
553                         <mod>filmstrip</mod>
554                         <mod>kit</mod>
555                         <mod>magazine</mod>
556                         <mod>map</mod>
557                         <mod>microform</mod>
558                         <mod>music</mod>
559                         <mod>record</mod>
560                         <mod>software</mod>
561                         <mod>softwrlong</mod>
562                         <mod>equip-long</mod>
563                         <mod>talking book</mod>
564                         <mod>toy</mod>
565                         <mod>video</mod>
566                         <mod>video-long</mod>
567                     </circ_modifiers>
568
569                     <billing_types>
570                         <type>Miscellaneous</type>
571                         <type>Overdue materials</type>
572                         <type>Fee for placing a hold</type>
573                         <type>Fee for checking out a book</type>
574                         <type>Fee for library card</type>
575                         <type>Miscellaneous charges</type>
576                         <type>Lost materials</type>
577                         <type>Damaged material</type>
578                         <type>Overdue Reserves charge</type>
579                         <type>Recall overdue</type>
580                         <type>Fee for processing lost library materials</type>
581                         <type>Fee for sending patron bills to collection agency</type>
582                         <type>Fee for interlibrary loan</type>
583                         <type>Fee for copies</type>
584                         <type>Money advanced to pay for telephone use</type>
585                         <type>Deposit fee</type>
586                         <type>Fee for disk</type>
587                         <type>Fee for faxing</type>
588                         <type>Fee for laminating</type>
589                         <type>Fee for room cleaning</type>
590                         <type>Deposit returned; fee refund</type>
591                         <type>Sale items</type>
592                         <type>Fee for lost card</type>
593                         <type>Long overdue items</type>
594                         <type>Lost/Replacement Cassette</type>
595                         <type>Returned Check</type>
596                     </billing_types>
597                 </app_settings>
598             </open-ils.circ>
599
600             <open-ils.ingest>
601                 <keepalive>3</keepalive>
602                 <stateless>1</stateless>
603                 <implementation>OpenILS::Application::Ingest</implementation>
604                 <language>perl</language>
605                 <max_requests>1000000</max_requests>
606                 <unix_config>
607                     <max_requests>1000000</max_requests>
608                     <unix_log>open-ils.ingest-unix.log</unix_log>
609                     <unix_sock>open-ils.ingest-unix.sock</unix_sock>
610                     <unix_pid>open-ils.ingest-unix.pid</unix_pid>
611                     <min_children>5</min_children>
612                     <max_children>20</max_children>
613                     <min_spare_children>2</min_spare_children>
614                     <max_spare_children>5</max_spare_children>
615                 </unix_config>
616                 <app_settings>
617                     <script_path>LIBDIR/javascript/</script_path>
618                     <script_path>LOCALSTATEDIR/catalog/</script_path>
619                     <script_path>LOCALSTATEDIR/web/opac/common/js/</script_path>
620                     <scripts>
621                         <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
622                         <biblio_descriptor>biblio_descriptor.js</biblio_descriptor>
623                     </scripts>
624                 </app_settings>
625             </open-ils.ingest>
626
627             <open-ils.storage>
628                 <keepalive>10</keepalive>
629                 <stateless>1</stateless>
630                 <language>perl</language>
631                 <implementation>OpenILS::Application::Storage</implementation>
632                 <unix_config>
633                     <max_requests>1000</max_requests>
634                     <unix_log>open-ils.storage_unix.log</unix_log>
635                     <unix_sock>open-ils.storage_unix.sock</unix_sock>
636                     <unix_pid>open-ils.storage_unix.pid</unix_pid>
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                     <script_path>LIBDIR/javascript/</script_path>
644                     <script_path>LOCALSTATEDIR/catalog/</script_path>
645                     <scripts>
646                         <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
647                     </scripts>
648                     <databases>
649                         <driver>Pg</driver>
650                         <database>
651                             <type>master</type>
652                             <weight>2</weight>
653                             <user>postgres</user>
654                             <host>localhost</host>
655                             <port>5432</port>
656                             <pw>postgres</pw>
657                             <db>evergreen</db>
658                             <client_encoding>UTF-8</client_encoding>
659                         </database>
660                     </databases>
661                 </app_settings>
662             </open-ils.storage>
663
664
665             <open-ils.cstore>
666                 <keepalive>6</keepalive>
667                 <stateless>1</stateless>
668                 <language>C</language>
669                 <implementation>oils_cstore.so</implementation>
670                 <max_requests>200</max_requests>
671                 <unix_config>
672                     <max_requests>1000</max_requests>
673                     <min_children>1</min_children>
674                     <max_children>15</max_children>
675                     <min_spare_children>1</min_spare_children>
676                     <max_spare_children>5</max_spare_children>
677                 </unix_config>
678                 <app_settings>
679                     <max_query_recursion>100</max_query_recursion>
680                     <driver>pgsql</driver>
681                     <database>
682                         <type>master</type>
683                         <weight>2</weight>
684                         <user>postgres</user>
685                         <host>localhost</host>
686                         <port>5432</port>
687                         <pw>postgres</pw>
688                         <db>evergreen</db>
689                         <client_encoding>UTF-8</client_encoding>
690                     </database>
691                 </app_settings>
692             </open-ils.cstore>
693
694
695             <open-ils.pcrud>
696                 <keepalive>6</keepalive>
697                 <migratable>1</migratable>
698                 <stateless>1</stateless>
699                 <language>C</language>
700                 <implementation>oils_pcrud.so</implementation>
701                 <max_requests>200</max_requests>
702
703                 <unix_config>
704                     <unix_log>open-ils.pcrud.log</unix_log>
705                     <unix_sock>open-ils.pcrud.sock</unix_sock>
706                     <unix_pid>open-ils.pcrud.pid</unix_pid>
707                     <max_requests>1000</max_requests>
708                     <min_children>1</min_children>
709                     <max_children>15</max_children>
710                     <min_spare_children>1</min_spare_children>
711                     <max_spare_children>5</max_spare_children>
712                 </unix_config>
713
714                 <app_settings>
715                     <IDL>SYSCONFDIR/fm_IDL.xml</IDL>
716                     <driver>pgsql</driver>
717                     <database>
718                         <type>master</type>
719                         <weight>2</weight>
720                         <user>postgres</user>
721                         <host>localhost</host>
722                         <port>5432</port>
723                         <pw>postgres</pw>
724                         <db>evergreen</db>
725                         <client_encoding>UTF-8</client_encoding>
726                     </database>
727                 </app_settings>
728             </open-ils.pcrud>
729
730
731             <opensrf.settings>
732                 <keepalive>1</keepalive>
733                 <stateless>1</stateless>
734                 <language>perl</language>
735                 <implementation>OpenSRF::Application::Settings</implementation>
736                 <max_requests>17</max_requests>
737                 <unix_config>
738                     <unix_sock>opensrf.settings_unix.sock</unix_sock>
739                     <unix_pid>opensrf.settings_unix.pid</unix_pid>
740                     <max_requests>300</max_requests>
741                     <unix_log>opensrf.settings_unix.log</unix_log>
742                     <min_children>5</min_children>
743                     <max_children>15</max_children>
744                     <min_spare_children>3</min_spare_children>
745                     <max_spare_children>5</max_spare_children>
746                 </unix_config>
747             </opensrf.settings>
748
749             <open-ils.collections>
750                 <keepalive>3</keepalive>
751                 <stateless>1</stateless>
752                 <language>perl</language>
753                 <implementation>OpenILS::Application::Collections</implementation>
754                 <max_requests>17</max_requests>
755                 <unix_config>
756                     <unix_sock>open-ils.collections_unix.sock</unix_sock>
757                     <unix_pid>open-ils.collections_unix.pid</unix_pid>
758                     <max_requests>1000</max_requests>
759                     <unix_log>open-ils.collections_unix.log</unix_log>
760                     <min_children>1</min_children>
761                     <max_children>10</max_children>
762                     <min_spare_children>1</min_spare_children>
763                     <max_spare_children>5</max_spare_children>
764                 </unix_config>
765             </open-ils.collections>
766
767             <open-ils.reporter>
768                 <keepalive>3</keepalive>
769                 <stateless>1</stateless>
770                 <language>perl</language>
771                 <implementation>OpenILS::Application::Reporter</implementation>
772                 <max_requests>99</max_requests>
773                 <unix_config>
774                     <unix_sock>open-ils.reporter_unix.sock</unix_sock>
775                     <unix_pid>open-ils.reporter_unix.pid</unix_pid>
776                     <max_requests>1000</max_requests>
777                     <unix_log>open-ils.reporter_unix.log</unix_log>
778                     <min_children>1</min_children>
779                     <max_children>10</max_children>
780                     <min_spare_children>1</min_spare_children>
781                     <max_spare_children>5</max_spare_children>
782                 </unix_config>
783             </open-ils.reporter>
784
785
786             <open-ils.reporter-store>
787                 <keepalive>6</keepalive>
788                 <stateless>1</stateless>
789                 <language>C</language>
790                 <implementation>oils_rstore.so</implementation>
791                 <max_requests>95</max_requests>
792                 <unix_config>
793                     <max_requests>400</max_requests>
794                     <min_children>1</min_children>
795                     <max_children>10</max_children>
796                     <min_spare_children>1</min_spare_children>
797                     <max_spare_children>5</max_spare_children>
798                 </unix_config>
799                 <app_settings>
800                     <driver>pgsql</driver>
801                     <database>
802                         <type>master</type>
803                         <weight>2</weight>
804                         <user>postgres</user>
805                         <host>localhost</host>
806                         <port>5432</port>
807                         <pw>postgres</pw>
808                         <db>evergreen</db>
809                         <client_encoding>UTF-8</client_encoding>
810                     </database>
811                 </app_settings>
812             </open-ils.reporter-store>
813
814             <open-ils.permacrud>
815                <keepalive>3</keepalive>
816                <stateless>1</stateless>
817                <language>perl</language>
818                <implementation>OpenILS::Application::PermaCrud</implementation>
819                <max_requests>17</max_requests>
820                <unix_config>
821                   <unix_sock>open-ils.permacrud_unix.sock</unix_sock>
822                   <unix_pid>open-ils.permacrud_unix.pid</unix_pid>
823                   <max_requests>1000</max_requests>
824                   <unix_log>open-ils.permacrud_unix.log</unix_log>
825                   <min_children>5</min_children>
826                   <max_children>15</max_children>
827                   <min_spare_children>3</min_spare_children>
828                   <max_spare_children>5</max_spare_children>
829                </unix_config>
830             </open-ils.permacrud>
831
832             <open-ils.fielder>
833                <keepalive>3</keepalive>
834                <stateless>1</stateless>
835                <language>perl</language>
836                <implementation>OpenILS::Application::Fielder</implementation>
837                <max_requests>17</max_requests>
838                <unix_config>
839                   <unix_sock>open-ils.fielder_unix.sock</unix_sock>
840                   <unix_pid>open-ils.fielder_unix.pid</unix_pid>
841                   <max_requests>1000</max_requests>
842                   <unix_log>open-ils.fielder_unix.log</unix_log>
843                   <min_children>5</min_children>
844                   <max_children>15</max_children>
845                   <min_spare_children>3</min_spare_children>
846                   <max_spare_children>5</max_spare_children>
847                </unix_config>
848             </open-ils.fielder>
849
850             <open-ils.vandelay>
851                 <keepalive>5</keepalive>
852                 <stateless>1</stateless>
853                 <language>perl</language>
854                 <implementation>OpenILS::Application::Vandelay</implementation>
855                 <max_requests>100</max_requests>
856                 <unix_config>
857                     <unix_sock>vandelay_unix.sock</unix_sock>
858                     <unix_pid>vandelay_unix.pid</unix_pid>
859                     <unix_log>vandelay_unix.log</unix_log>
860                     <max_requests>100</max_requests>
861                     <min_children>1</min_children>
862                     <max_children>15</max_children>
863                     <min_spare_children>1</min_spare_children>
864                     <max_spare_children>5</max_spare_children>
865                 </unix_config>
866                 <app_settings>
867                     <databases>
868                         <!-- temporary location for MARC import files.  
869                             Files will be deleted after records are spooled.
870                             *note:  in a multi-brick environment, this will need to
871                             be on a write-able NFS share.  -->
872                         <importer>/tmp</importer>
873                     </databases>
874                 </app_settings>
875             </open-ils.vandelay>
876
877         </apps>
878     </default>
879
880     <hosts>
881
882         <localhost> 
883             <!-- ^-=- 
884             Should match the fully qualified domain name of the host.
885
886             On Linux, the output of the following command is authoritative:
887             $ perl -MNet::Domain -e 'print Net::Domain::hostfqdn() . "\n";'
888
889             To use 'localhost' instead, run osrf_ctl.sh with the -l flag
890             -->
891
892             <activeapps>
893                 <!-- services hosted on this machine -->
894                 <appname>opensrf.settings</appname> 
895                 <appname>opensrf.math</appname> 
896                 <appname>opensrf.dbmath</appname> 
897                 <appname>open-ils.acq</appname> 
898                 <appname>open-ils.cat</appname> 
899                 <appname>open-ils.supercat</appname> 
900                 <appname>open-ils.search</appname> 
901                 <appname>open-ils.circ</appname> 
902                 <appname>open-ils.actor</appname> 
903                 <appname>open-ils.auth</appname> 
904                 <appname>open-ils.storage</appname>  
905                 <appname>open-ils.penalty</appname>  
906                 <appname>open-ils.cstore</appname>  
907                 <appname>open-ils.collections</appname>  
908                 <appname>open-ils.ingest</appname>  
909                 <appname>open-ils.reporter</appname>  
910                 <appname>open-ils.reporter-store</appname>  
911                 <appname>open-ils.permacrud</appname>  
912                 <appname>open-ils.pcrud</appname>  
913                 <appname>open-ils.fielder</appname>  
914                 <appname>open-ils.vandelay</appname>  
915             </activeapps>
916         </localhost>
917     </hosts>
918
919 </opensrf>