From f48fd51b217f8688a175e1fb451671a1907442f6 Mon Sep 17 00:00:00 2001 From: bohung Date: Sun, 25 Sep 2022 16:01:09 +0800 Subject: [PATCH] Fix bug. --- move_site.sh | 2 +- move_site_interactive.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/move_site.sh b/move_site.sh index 488f595..a727d7d 100644 --- a/move_site.sh +++ b/move_site.sh @@ -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 diff --git a/move_site_interactive.sh b/move_site_interactive.sh index 8d6c005..54fff5b 100644 --- a/move_site_interactive.sh +++ b/move_site_interactive.sh @@ -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