mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-07-08 11:40:25 +00:00
radicale: Fix issue with configuration changes not applying
With newer version of radicale (>2.1), when configuration is changed, it is not applied until the application is disabled and re-enabled. Also make sure that configuration changes don't start a daemon when it is disabled. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
af018e3018
commit
1d42081c62
@ -89,7 +89,10 @@ def subcommand_configure(arguments):
|
||||
aug.set('/files' + CONFIG_FILE + '/rights/type', arguments.rights_type)
|
||||
aug.save()
|
||||
|
||||
action_utils.service_restart('radicale')
|
||||
if current_version and current_version >= radicale.VERSION_2:
|
||||
action_utils.service_try_restart('uwsgi')
|
||||
else:
|
||||
action_utils.service_try_restart('radicale')
|
||||
|
||||
|
||||
def subcommand_enable(_):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user