This commit is contained in:
BoHung Chiu 2022-09-25 16:01:09 +08:00
parent 464f81166d
commit f48fd51b21
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ else
sudo_command bash -l -c "cd $org_ssl_dir && ln -s ../../archive/$real_domain/*.pem ."
fi
fi
sudo_command cp -r $new_ssl_dir/renewal/* /etc/letsencrypt/renewal/.
sudo_command cp -r ssl_files/renewal/* /etc/letsencrypt/renewal/.
if [[ -e /etc/letsencrypt/renewal/$real_domain.conf ]]; then #Fix certbot account
letsencrypt_server_name=`sudo_command ls /etc/letsencrypt/accounts/|xargs|awk '{print $1}'`
if [[ ! -z "$letsencrypt_server_name" ]]; then

View File

@ -139,7 +139,7 @@ else
sudo_command bash -l -c "cd $org_ssl_dir && ln -s ../../archive/$real_domain/*.pem ."
fi
fi
sudo_command cp -r $new_ssl_dir/renewal/* /etc/letsencrypt/renewal/.
sudo_command cp -r ssl_files/renewal/* /etc/letsencrypt/renewal/.
if [[ -e /etc/letsencrypt/renewal/$real_domain.conf ]]; then #Fix certbot account
letsencrypt_server_name=`sudo_command ls /etc/letsencrypt/accounts/|xargs|awk '{print $1}'`
if [[ ! -z "$letsencrypt_server_name" ]]; then