File: etc_dbpath.diff

package info (click to toggle)
jabberd2 2.7.0-9
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,192 kB
  • sloc: ansic: 37,104; sh: 1,100; perl: 656; xml: 561; makefile: 511; python: 238; ruby: 145; sql: 55
file content (43 lines) | stat: -rw-r--r-- 1,732 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Description: Changes in etc files the path of the databases
Author: Jorge Salamero Sanz <bencer@cauterized.net>

--- a/etc/c2s.xml.dist.in
+++ b/etc/c2s.xml.dist.in
@@ -437,7 +437,7 @@
     <!-- SQLite driver configuration -->
     <sqlite>
       <!-- Database name -->
-      <dbname>@localstatedir@/@package@/db/sqlite.db</dbname>
+      <dbname>/var/lib/jabberd2/sqlite.db</dbname>
 
     <!-- Use this to pass any SQL statements to the database immediately
 	  after opening it. This is typically used to set pragmas for
@@ -564,7 +564,7 @@
     <!-- Berkeley DB module configuration -->
     <db>
       <!-- Directory to store database files under -->
-      <path>@localstatedir@/@package@/db</path>
+      <path>/var/lib/jabberd2/</path>
 
       <!-- Synchronize the database to disk after each write. If you
            disable this, database accesses may be faster, but data may
--- a/etc/sm.xml.dist.in
+++ b/etc/sm.xml.dist.in
@@ -139,7 +139,7 @@
     <!-- SQLite driver configuration -->
     <sqlite>
       <!-- Database name -->
-      <dbname>@localstatedir@/@package@/db/sqlite.db</dbname>
+      <dbname>/var/lib/jabberd2/sqlite.db</dbname>
      <!-- Use this to pass any SQL statements to the database immediately
           after opening it. This is typically used to set pragmas for
           performance tuning. -->
@@ -217,7 +217,7 @@
          implementation does not implement the 'count' callback). -->
     <db>
       <!-- Directory to store database files under -->
-      <path>@localstatedir@/@package@/db</path>
+      <path>/var/lib/jabberd2/</path>
 
       <!-- Synchronize the database to disk after each write. If you
            disable this, database accesses may be faster, but data may