Skip to content

Commit

Permalink
letsencrypt: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Oct 19, 2024
1 parent 7c5856d commit c644dde
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions provision/letsencrypt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c644dde

Please sign in to comment.