From c33c44eea0f924cfdffae98050fc65d0f6c9f852 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Fri, 21 Jun 2019 11:12:12 -0700 Subject: [PATCH] letsencrypt: Trigger renewal certificate events in component Signed-off-by: Sunil Mohan Adapa Reviewed-by: Joseph Nuthalapati --- plinth/modules/letsencrypt/dbus.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plinth/modules/letsencrypt/dbus.py b/plinth/modules/letsencrypt/dbus.py index 27e36689a..e97636b89 100644 --- a/plinth/modules/letsencrypt/dbus.py +++ b/plinth/modules/letsencrypt/dbus.py @@ -76,3 +76,7 @@ class LetsEncrypt: """ logger.info('LE certificate renewed (deployed): %s, %s.', renewed_domains, renewed_lineage) + + from plinth.modules.letsencrypt import components + components.on_certificate_event('renewed', renewed_domains, + renewed_lineage)