From 15094525b1ebb32e93809ff9cb4538e3cdfb05e5 Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Wed, 23 Jan 2019 06:12:39 -0500 Subject: [PATCH] radicale: Only set hosts for radicale 1.x Not used with uwsgi, which is enabled for radicale 2.x. Signed-off-by: James Valleroy Reviewed-by: Sunil Mohan Adapa --- actions/radicale | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actions/radicale b/actions/radicale index c1c13c04a..8312d4058 100755 --- a/actions/radicale +++ b/actions/radicale @@ -60,10 +60,10 @@ def subcommand_setup(_): if current_version and current_version < radicale.VERSION_2: aug.set('/files' + DEFAULT_FILE + '/ENABLE_RADICALE', 'yes') - aug.set('/files' + CONFIG_FILE + '/server/hosts', - '127.0.0.1:5232, [::1]:5232') aug.set('/files' + CONFIG_FILE + '/rights/type', 'owner_only') if current_version and current_version < radicale.VERSION_2: + aug.set('/files' + CONFIG_FILE + '/server/hosts', + '127.0.0.1:5232, [::1]:5232') aug.set('/files' + CONFIG_FILE + '/server/base_prefix', '/radicale/') aug.set('/files' + CONFIG_FILE + '/well-known/caldav', '/radicale/%(user)s/caldav/')