dynamicdns: Split app initialization

Tests:

- When configured, after startup, Dynamic DNS domain shows up in names module.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2021-11-15 10:12:52 -05:00
1 parent 249c713bb5
commit b163423a26
1 file changed
+3
+3
View File
@@ -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',