From 08760df0ecc8abe9906c6baea37f8154591a277b Mon Sep 17 00:00:00 2001 From: opi Date: Tue, 14 Mar 2017 16:56:16 +0100 Subject: [PATCH] [fix] Regenerate SSOwat conf during main_domain operation. #672 --- src/yunohost/tools.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/yunohost/tools.py b/src/yunohost/tools.py index 8470a7b27..07db05877 100644 --- a/src/yunohost/tools.py +++ b/src/yunohost/tools.py @@ -185,6 +185,9 @@ def tools_maindomain(auth, new_domain=None): else: logger.info(out) + # Generate SSOwat configuration file + app_ssowatconf(auth) + # Regen configurations try: with open('/etc/yunohost/installed', 'r') as f: @@ -308,9 +311,6 @@ def tools_postinstall(domain, password, ignore_dyndns=False): domain_add(auth, domain, dyndns) tools_maindomain(auth, domain) - # Generate SSOwat configuration file - app_ssowatconf(auth) - # Change LDAP admin password tools_adminpw(auth, password)