/
githubmirror
/
zulip
Обзор
Документация
Войти
/
githubmirror
/
zulip
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
9.2
scripts/lib/fix-standalone-certbot
14 строк
425 B
Alex Vandiver
puppet: Fix standalone certbot configurations.
24 янв 2022, 23:13
24 янв 2022, 23:13
a3adaf4
Код
Авторство
О чём код?
#!/usr/bin/env bash set -eu set -o pipefail hostnames=$(grep -l 'authenticator = standalone' /etc/letsencrypt/renewal/*.conf | sed 's/.*\///; s/\.conf$//') for hostname in $hostnames; do # Force a cert renewal to force the config file to update /usr/bin/certbot certonly --webroot --webroot-path=/var/lib/zulip/certbot-webroot/ --force-renewal -d "$hostname" done # Pick up any updated certs service nginx reload