mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
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:
parent
c54a75f85c
commit
c33c44eea0
@ -76,3 +76,7 @@ class LetsEncrypt:
|
|||||||
"""
|
"""
|
||||||
logger.info('LE certificate renewed (deployed): %s, %s.',
|
logger.info('LE certificate renewed (deployed): %s, %s.',
|
||||||
renewed_domains, renewed_lineage)
|
renewed_domains, renewed_lineage)
|
||||||
|
|
||||||
|
from plinth.modules.letsencrypt import components
|
||||||
|
components.on_certificate_event('renewed', renewed_domains,
|
||||||
|
renewed_lineage)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user