[Opensrf-commits] r1476 - branches/rel_1_0/examples

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Oct 24 13:07:47 EDT 2008


Author: dbs
Date: 2008-10-24 13:07:40 -0400 (Fri, 24 Oct 2008)
New Revision: 1476

Modified:
   branches/rel_1_0/examples/opensrf.xml.example
   branches/rel_1_0/examples/opensrf_core.xml.example
Log:
Merge changes from trunk to make OpenSRF work out of the box


Modified: branches/rel_1_0/examples/opensrf.xml.example
===================================================================
--- branches/rel_1_0/examples/opensrf.xml.example	2008-10-24 16:36:06 UTC (rev 1475)
+++ branches/rel_1_0/examples/opensrf.xml.example	2008-10-24 17:07:40 UTC (rev 1476)
@@ -44,11 +44,11 @@
         <servers>
 
           <!-- memcached server ip:port -->
-          <server>127.0.0.1:10101</server>
+          <server>127.0.0.1:11211</server>
 
         </servers>
 
-        <!-- maximun time that anything may stay in the cache -->
+        <!-- maximum time that anything may stay in the cache -->
         <max_cache_time>86400</max_cache_time>
 
       </global>
@@ -132,7 +132,7 @@
         <keepalive>3</keepalive>
         <stateless>1</stateless>
         <language>c</language>
-        <implementation>libosrf_math.so</implementation>
+        <implementation>osrf_math.so</implementation>
         <max_requests>97</max_requests>
         <unix_config>
           <unix_sock>opensrf.math_unix.sock</unix_sock>
@@ -150,7 +150,7 @@
         <keepalive>3</keepalive>
         <stateless>1</stateless>
         <language>c</language>
-        <implementation>libosrf_dbmath.so</implementation>
+        <implementation>osrf_dbmath.so</implementation>
         <max_requests>99</max_requests>
         <unix_config>
           <max_requests>1000</max_requests>
@@ -166,13 +166,13 @@
 
       <opensrf.settings>
         <keepalive>1</keepalive>
-        <stateless>0</stateless>
+        <stateless>1</stateless>
         <language>perl</language>
         <implementation>OpenSRF::Application::Settings</implementation>
         <max_requests>17</max_requests>
         <unix_config>
           <unix_sock>opensrf.settings_unix.sock</unix_sock>
-          <unix_pid>opoensrf.settings_unix.pid</unix_pid>
+          <unix_pid>opensrf.settings_unix.pid</unix_pid>
           <max_requests>1000</max_requests>
           <unix_log>opensrf.settings_unix.log</unix_log>
           <min_children>5</min_children>
@@ -187,12 +187,15 @@
   <hosts>
 
     <localhost>
-<!-- ^-=-
-	Must match the fully qualified domain name of the host 
-	on Linux, this is usually the output of "hostname -f"
--->
+      <!-- ^-=- 
+        Should match the fully qualified domain name of the host.
 
-<!-- List all of the apps this server will be running -->
+        On Linux, the output of the following command is authoritative:
+        $ perl -MNet::Domain -e 'print Net::Domain::hostfqdn();'
+
+        To use 'localhost' instead, run osrf_ctl.sh with the -l flag
+      -->
+      <!-- List all of the apps this server will be running -->
       <activeapps>
         <appname>opensrf.persist</appname>
         <appname>opensrf.settings</appname>

Modified: branches/rel_1_0/examples/opensrf_core.xml.example
===================================================================
--- branches/rel_1_0/examples/opensrf_core.xml.example	2008-10-24 16:36:06 UTC (rev 1475)
+++ branches/rel_1_0/examples/opensrf_core.xml.example	2008-10-24 17:07:40 UTC (rev 1476)
@@ -8,7 +8,7 @@
   <opensrf>
 
     <!-- The OpenSRF Routers's name on the network -->
-    <!-- You should never need to change thischange this -->
+    <!-- You should never need to change this -->
     <router_name>router</router_name>
 
     <routers>



More information about the opensrf-commits mailing list