|
@@ -83,9 +83,13 @@ class RadicaleDaemon(Daemon):
|
83
|
83
|
server.serve_forever()
|
84
|
84
|
|
85
|
85
|
def _prepare_config(self):
|
|
86
|
+ from tracim.config.app_cfg import CFG
|
|
87
|
+ cfg = CFG.get_instance()
|
|
88
|
+
|
86
|
89
|
tracim_auth = 'tracim.lib.radicale.auth'
|
87
|
90
|
tracim_rights = 'tracim.lib.radicale.rights'
|
88
|
91
|
tracim_storage = 'tracim.lib.radicale.storage'
|
|
92
|
+ fs_path = cfg.RADICALE_SERVER_FILE_SYSTEM_FOLDER
|
89
|
93
|
|
90
|
94
|
radicale_config.set('auth', 'type', 'custom')
|
91
|
95
|
radicale_config.set('auth', 'custom_handler', tracim_auth)
|
|
@@ -95,6 +99,7 @@ class RadicaleDaemon(Daemon):
|
95
|
99
|
|
96
|
100
|
radicale_config.set('storage', 'type', 'custom')
|
97
|
101
|
radicale_config.set('storage', 'custom_handler', tracim_storage)
|
|
102
|
+ radicale_config.set('storage', 'filesystem_folder', fs_path)
|
98
|
103
|
|
99
|
104
|
def _get_server(self):
|
100
|
105
|
from tracim.config.app_cfg import CFG
|