mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
ejabberd: Use dynamic reload after enabling/disabling MAM
After a user enables/disables MAM, use ejabberd's reload_config instead of restarting ejabberd. Please let me know how this looks? Could reload_config also be of use when adding/dropping a Let's Encrypt certificate? Fixes #1010 Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
0c3f08c082
commit
cb55b87660
@ -270,7 +270,7 @@ def subcommand_mam(argument):
|
||||
ruamel.yaml.round_trip_dump(conf, file_handle)
|
||||
|
||||
if action_utils.service_is_running('ejabberd'):
|
||||
action_utils.service_restart('ejabberd')
|
||||
subprocess.call(['ejabberdctl', 'reload_config'])
|
||||
|
||||
|
||||
def subcommand_letsencrypt(arguments):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user