Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Commit

Permalink
fix creation of certs dir
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L <szaimen@e.mail.de>
  • Loading branch information
szaimen committed Dec 6, 2023
1 parent b804416 commit 25bba0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ while ! [ -f "/caddy/caddy/certificates/acme-v02.api.letsencrypt.org-directory/m
sleep 5
done

mkdir -p /opt/stalwart-mail/etc/certs
mkdir -p "/opt/stalwart-mail/etc/certs/mail.$NC_DOMAIN"
rm -f "/opt/stalwart-mail/etc/certs/mail.$NC_DOMAIN/fullchain.pem"
rm -f "/opt/stalwart-mail/etc/certs/mail.$NC_DOMAIN/privkey.pem"
cp "/caddy/caddy/certificates/acme-v02.api.letsencrypt.org-directory/mail.$NC_DOMAIN/mail.$NC_DOMAIN.crt" "/opt/stalwart-mail/etc/certs/mail.$NC_DOMAIN/fullchain.pem"
Expand Down

0 comments on commit 25bba0e

Please sign in to comment.