[open-ils-commits] r7965 - branches/rel_1_2/Open-ILS/examples

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Nov 1 19:08:16 EDT 2007


Author: dbs
Date: 2007-11-01 18:53:21 -0400 (Thu, 01 Nov 2007)
New Revision: 7965

Modified:
   branches/rel_1_2/Open-ILS/examples/opensrf.xml.example
Log:
Use <database><db> in <reporter> section.
Offer the authoritative command for hostname.


Modified: branches/rel_1_2/Open-ILS/examples/opensrf.xml.example
===================================================================
--- branches/rel_1_2/Open-ILS/examples/opensrf.xml.example	2007-11-01 22:50:03 UTC (rev 7964)
+++ branches/rel_1_2/Open-ILS/examples/opensrf.xml.example	2007-11-01 22:53:21 UTC (rev 7965)
@@ -52,7 +52,7 @@
                     <driver>Pg</driver>
                     <host>localhost</host>
                     <port>5432</port>
-                    <name>evergreen</name>
+                    <db>evergreen</db>
                     <user>postgres</user>
                     <password>postgres</password>
                 </database>
@@ -638,10 +638,12 @@
         <evergreen.example.org> 
             <!-- ^-=- 
                 must match the fully qualified domain name of the host.
-                on Linux, this is usually the output of "hostname -f"
+
+                On Linux, the output of the following command is authoritative:
+                $ perl -MNet::Domain -e 'print Net::Domain::hostfqdn();'
+
                'localhost' won't work here
             -->
-
             <activeapps>
                 <!-- services hosted on this machine -->
                 <appname>opensrf.settings</appname> 



More information about the open-ils-commits mailing list