summaryrefslogtreecommitdiff
path: root/app-office/radicale/files/radicale-0.8-config.patch
blob: f52894e8ff59cd827ffbb0357d1bfde4299dd016 (plain)
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
44
45
Fix the config for Gentoo's default needs.
    * Set pathes
    * Set rights.type to 'owner_only' to model pre-0.8 behavior
      (None means 'everyone is allowed everything')
---

diff --git a/config b/config
index 453a45e..96ad0e0 100644
--- a/config
+++ b/config
@@ -97,10 +97,10 @@ http_password_parameter =
 [rights]
 # Rights management method
 # Value: None | owner_only | owner_write | from_file
-type = None
+type = owner_only
 
 # File for rights management from_file
-file = ~/.config/radicale/rights
+file = /etc/radicale/rights
 
 
 [storage]
@@ -109,7 +109,7 @@ file = ~/.config/radicale/rights
 type = filesystem
 
 # Folder for storing local collections, created if not present
-filesystem_folder = ~/.config/radicale/collections
+filesystem_folder = /var/lib/radicale/
 
 # Database URL for SQLAlchemy
 # dialect+driver://user:password@host/dbname[?key=value..]
diff --git a/logging b/logging
index f4efb88..b10f88c 100644
--- a/logging
+++ b/logging
@@ -45,7 +45,7 @@ formatter = simple
 [handler_file]
 # File handler
 class = FileHandler
-args = ('/var/log/radicale',)
+args = ('/var/log/radicale/radicale.log',)
 formatter = full