diff --git a/provision/letsencrypt.sh b/provision/letsencrypt.sh index 71dc6424..9c162337 100755 --- a/provision/letsencrypt.sh +++ b/provision/letsencrypt.sh @@ -170,8 +170,8 @@ dovecot_deploy() { local _key_installed="$_ssl_dir/private/${_cdomain}.pem" has_differences "$_cfullchain" "$_crt_installed" || return 0 - install_file "$_cfullchain" "$_crt_installed" || return 1 - install_file "$_ckey" "$_key_installed" || return 1 + install_file "$_cfullchain" "$_crt_installed" || return 1 + install_file "$_ckey" "$_key_installed" || return 1 _debug "restarting dovecot" jexec dovecot service dovecot restart @@ -372,7 +372,7 @@ mailtoaster_deploy() { for _target in haraka haproxy dovecot webmail do echo "deploying $_target" - . "~root/.acme.sh/deploy/$_target" + . "/root/.acme.sh/deploy/$_target" ${_target}_deploy $* || return 2 done @@ -460,7 +460,7 @@ EO_LE_WEBMAIL install_deploy_scripts() { tell_status "installing deployment scripts" - export _deploy="~root/.acme.sh/deploy" + export _deploy="/root/.acme.sh/deploy" install_deploy_haproxy install_deploy_dovecot