Let's remove one step from getting OpenSRF running out of the box;
authordbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 25 Nov 2008 17:48:31 +0000 (17:48 +0000)
committerdbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 25 Nov 2008 17:48:31 +0000 (17:48 +0000)
give the persistence database a real default location

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1513 9efc2488-bf62-4759-914b-345cdb29e865

examples/opensrf.xml.example

index 5b33ce6..b36769a 100644 (file)
@@ -123,7 +123,7 @@ vim:et:ts=2:sw=2:
         <app_settings>
 
           <!-- sqlite database file -->
         <app_settings>
 
           <!-- sqlite database file -->
-          <dbfile>/path/to/dbfile/persist.db</dbfile>
+          <dbfile>LOCALSTATEDIR/persist.db</dbfile>
 
         </app_settings>
       </opensrf.persist>
 
         </app_settings>
       </opensrf.persist>
@@ -208,7 +208,7 @@ vim:et:ts=2:sw=2:
 <!-- Example of an app-specific setting override -->
         <opensrf.persist>
           <app_settings>
 <!-- Example of an app-specific setting override -->
         <opensrf.persist>
           <app_settings>
-            <dbfile>/different/path/to/dbfile/persist.db</dbfile>
+            <dbfile>LOCALSTATEDIR/persist-override.db</dbfile>
           </app_settings>
         </opensrf.persist>
 
           </app_settings>
         </opensrf.persist>