mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-08 09:41:35 +00:00
ejabberd: Don't enable app when setup is rerun
Tests: - Rerun setup after disabling the app. App is not enabled. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
02192266c2
commit
69c4aca429
@ -146,7 +146,8 @@ class EjabberdApp(app_module.App):
|
||||
self.get_component('letsencrypt-ejabberd').setup_certificates(
|
||||
[domainname])
|
||||
privileged.setup(domainname)
|
||||
self.enable()
|
||||
if not old_version:
|
||||
self.enable()
|
||||
|
||||
# Configure STUN/TURN only if there's a valid TLS domain set for Coturn
|
||||
configuration = self.get_component('turn-ejabberd').get_configuration()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user