letsencrypt: Trigger renewal certificate events in component

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
This commit is contained in:
Sunil Mohan Adapa 2019-06-21 11:12:12 -07:00 committed by Joseph Nuthalapati
parent c54a75f85c
commit c33c44eea0
No known key found for this signature in database
GPG Key ID: 5398F00A2FA43C35

View File

@ -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)