modified: main_dc/certbot/scripts/checkRenewCerts.sh

change warnign day before expire certs from 2 to 5 days
This commit is contained in:
2026-01-23 00:40:25 +05:00
parent c8b2f69482
commit db8497661a
+5 -5
View File
@@ -43,7 +43,7 @@ check_local_cert() {
check_first_cert() {
local first_cert="/etc/letsencrypt/live/yalarba.ru/cert.pem"
local first_script="/opt/renewYalarbaCert.sh"
local warning_days=2
local warning_days=5
if check_local_cert "$first_cert" "$warning_days"; then
echo "Запускаю обновление сертификата yalarba.ru"
@@ -55,7 +55,7 @@ check_first_cert() {
check_second_cert() {
local second_cert="/etc/letsencrypt/live/valitovgaziz.ru/cert.pem"
local second_script="/opt/renewValitovGazizCert.sh"
local warning_days=2
local warning_days=5
if check_local_cert "$second_cert" "$warning_days"; then
echo "Запускаю обновление сертификата valitovgaziz.ru"
@@ -67,7 +67,7 @@ check_second_cert() {
check_third_cert() {
local third_cert="/etc/letsencrypt/live/easysite102.ru/cert.pem"
local third_script="/opt/renewValitovGazizCert.sh"
local warning_days=2
local warning_days=5
if check_local_cert "$third_cert" "$warning_days"; then
echo "Запускаю обновление сертификата easysite102.ru"
@@ -79,7 +79,7 @@ check_third_cert() {
check_forth_cert() {
local forth_cert="/etc/letsencrypt/live/xn--80abahjtcfl5d0a8di.xn--p1ai/cert.pem"
local forth_script="/opt/renewBegushiyBashkir.sh"
local warning_days=2
local warning_days=5
if check_local_cert "$forth_cert" "$warning_days"; then
echo "Запускаю обновление сертификата для бегущийбашкир.рф"
@@ -90,7 +90,7 @@ check_forth_cert() {
check_fifth_cert() {
local fifth_cert="/etc/letsencrypt/live/begushiybashkir.ru/cert.pem"
local fifth_script="/opt/renewBegushiyBashkirLatin.sh"
local warning_days=2
local warning_days=5
if check_local_cert "$fifth_cert" "$warning_days"; then
echo "Запускаю обновление сертификата для begushiybashkir.ru"