]> git.pld-linux.org Git - packages/jabberd.git/commitdiff
- db-setup updated,
authordjrzulf <djrzulf@pld-linux.org>
Fri, 7 Jan 2005 09:51:43 +0000 (09:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added sqlite example to sm.xml,

Changed files:
    db-setup.sqlite -> 1.2
    jabberd-sqlite-example.patch -> 1.1

db-setup.sqlite
jabberd-sqlite-example.patch [new file with mode: 0644]

index 3d2b6699547d19be8d2ca6ee60507fc793a1dcc8..1a3e229ca5659c50453bfe3d022907ffbc49a1dc 100644 (file)
@@ -3,6 +3,8 @@
 --
 --     sqlite3 jabberd2.db <  db-setup.sqlite
 --
+-- Please create database at /var/lib/jabberd/
+--
 
 --
 -- c2s authentication/registration table
diff --git a/jabberd-sqlite-example.patch b/jabberd-sqlite-example.patch
new file mode 100644 (file)
index 0000000..2a3dcf3
--- /dev/null
@@ -0,0 +1,30 @@
+--- jabberd-2.0s6/etc/sm.xml.dist.in~  2005-01-07 10:24:47.628651464 +0100
++++ jabberd-2.0s6/etc/sm.xml.dist.in   2005-01-07 10:33:17.303169160 +0100
+@@ -65,7 +65,8 @@
+   <!-- Storage database configuration -->
+   <storage>
+-    <!-- By default, we use the MySQL driver for all storage -->
++    <!-- By default, we use the MySQL driver for all storage 
++         You can type here: db, mysql, pgsql, sqlite -->
+     <driver>db</driver>
+     <!-- Its also possible to explicitly list alternate drivers for
+@@ -127,6 +128,17 @@
+            be lost if jabberd crashes. -->
+       <sync/>
+     </db>
++    
++     <sqlite>
++      <!-- Directory and filename of database -->
++      <dbname>@localstatedir@/lib/jabberd/jabberd2.db</dbname>
++
++      <!-- Transacation support. If this is commented out, transactions
++           will be disabled. This might make database accesses faster,
++           but data may be lost if jabberd crashes. -->
++      <transactions/>
++    </sqlite>
++
+   </storage>
+   
+   <!-- Access control information -->
This page took 0.102681 seconds and 4 git commands to generate.