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