global-functions: clickable links in telegram notifications

This commit is contained in:
Christian Hesse 2020-11-26 23:02:15 +01:00
parent d09baddac3
commit ca4e25283f
9 changed files with 29 additions and 30 deletions

View file

@ -91,7 +91,7 @@ $WaitFullyConnected;
"Fingerprint: " . ($CertNewVal->"fingerprint") . "\n" . \
"Issuer: " . ([ $ParseKeyValueStore ($CertNewVal->"issuer") ]->"CN") . "\n" . \
"Validity: " . ($CertNewVal->"invalid-before") . " to " . ($CertNewVal->"invalid-after") . "\n" . \
"Expires in: " . [ $FormatExpire ($CertNewVal->"expires-after") ]) "" "true";
"Expires in: " . [ $FormatExpire ($CertNewVal->"expires-after") ]) "" "" "true";
$LogPrintExit info ("The certificate " . ($CertVal->"name") . " has been renewed.") false;
} on-error={
$LogPrintExit debug ("Could not renew certificate " . ($CertVal->"name") . ".") false;