From 34007554e0123bca2fc2a326a7730466de9deaf0 Mon Sep 17 00:00:00 2001 From: pvincent Date: Fri, 27 Mar 2026 14:47:05 +0400 Subject: [PATCH] fix import certbot cli.ini --- sympa/resources/tools/sympa_import.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sympa/resources/tools/sympa_import.bash b/sympa/resources/tools/sympa_import.bash index b98388b..c7da3eb 100755 --- a/sympa/resources/tools/sympa_import.bash +++ b/sympa/resources/tools/sympa_import.bash @@ -112,15 +112,15 @@ function import_certbot { if [[ -f "$export_tmp/certbot.tar" ]]; then echo "certbot save previous cli.ini" - cp /etc/letsencrypt/cli.ini "$export_tmp/ + cp /etc/letsencrypt/cli.ini "$export_tmp/" echo "import certbot..." rm -rf /etc/letsencrypt tar -xf "$export_tmp/certbot.tar" -C / echo OK - + echo "certbot restore previous cli.ini" - mv "$export_tmp/cli.ini /etc/letsencrypt/ + mv "$export_tmp/cli.ini" /etc/letsencrypt/ echo "convert certbot apache2 authenticator to certbotx nginx authenticator" /opt/miaou-bash/tools/append_or_replace '^authenticator =.*$' "authenticator = nginx" /etc/letsencrypt/renewal/$SYMPA_DOMAIN.conf