From b163423a262089be09fdcfebefa4e0f7c211d40f Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Sun, 14 Nov 2021 11:56:23 -0800 Subject: [PATCH] dynamicdns: Split app initialization Tests: - When configured, after startup, Dynamic DNS domain shows up in names module. Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- plinth/modules/dynamicdns/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plinth/modules/dynamicdns/__init__.py b/plinth/modules/dynamicdns/__init__.py index 6e0435d64..75ae6181c 100644 --- a/plinth/modules/dynamicdns/__init__.py +++ b/plinth/modules/dynamicdns/__init__.py @@ -80,6 +80,9 @@ class DynamicDNSApp(app_module.App): **manifest.backup) self.add(backup_restore) + @staticmethod + def post_init(): + """Perform post initialization operations.""" current_status = get_status() if current_status['enabled']: domain_added.send_robust(sender='dynamicdns',