mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
radicale: Only set hosts for radicale 1.x
Not used with uwsgi, which is enabled for radicale 2.x. Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
dfd46281c5
commit
15094525b1
@ -60,10 +60,10 @@ def subcommand_setup(_):
|
|||||||
if current_version and current_version < radicale.VERSION_2:
|
if current_version and current_version < radicale.VERSION_2:
|
||||||
aug.set('/files' + DEFAULT_FILE + '/ENABLE_RADICALE', 'yes')
|
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')
|
aug.set('/files' + CONFIG_FILE + '/rights/type', 'owner_only')
|
||||||
if current_version and current_version < radicale.VERSION_2:
|
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 + '/server/base_prefix', '/radicale/')
|
||||||
aug.set('/files' + CONFIG_FILE + '/well-known/caldav',
|
aug.set('/files' + CONFIG_FILE + '/well-known/caldav',
|
||||||
'/radicale/%(user)s/caldav/')
|
'/radicale/%(user)s/caldav/')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user