Use <database><db> in <reporter> section.
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 1 Nov 2007 22:53:21 +0000 (22:53 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 1 Nov 2007 22:53:21 +0000 (22:53 +0000)
Offer the authoritative command for hostname.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@7965 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/examples/opensrf.xml.example

index 3689c5a..b0c9bdf 100644 (file)
@@ -52,7 +52,7 @@ Example opensrf config file for OpenILS
                     <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 @@ Example opensrf config file for OpenILS
         <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>