clientRenew stepped

This commit is contained in:
Михаил Капелько
2025-12-06 07:20:50 +03:00
parent 32101302c3
commit 5962d51caf
2 changed files with 12 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
#!/bin/bash -e
# https://habr.com/ru/articles/735712/
certbot certonly --manual --preferred-challenges http -d "kornerr.ru"
SDIR=$(cd "$(dirname "$0")" ; pwd -P)
T=$SDIR/../step
STEP=0
source $T/ensureRootUser
source $T/renewCertbot

6
step/renewCertbot Normal file
View File

@@ -0,0 +1,6 @@
#!/bin/bash -e
# https://habr.com/ru/articles/735712/
STEP=$((STEP+1))
echo -e "\n> > > > Шаг №$STEP. Просим certbot обновить"
certbot certonly --manual --preferred-challenges http -d "kornerr.ru"