... | ... |
@@ -48,6 +48,7 @@ function upgrades () { |
48 | 48 |
} |
49 | 49 |
|
50 | 50 |
function certificates () { |
51 |
+ _turn 24 || return |
|
51 | 52 |
for domain in /etc/letsencrypt/live/*; do |
52 | 53 |
local notAfter="$(openssl x509 -enddate -noout -in $domain/fullchain.pem)" |
53 | 54 |
local enddate=$(date +%s -d"${notAfter#*=}") |