From 2938b98e1827cd9508962e61b40718b62281bc3d Mon Sep 17 00:00:00 2001 From: mdecimus Date: Thu, 26 Oct 2023 10:01:14 +0200 Subject: [PATCH] Fixed Docker entrypoint --- resources/docker/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/docker/entrypoint.sh b/resources/docker/entrypoint.sh index 8e35c9b05..d962583e5 100644 --- a/resources/docker/entrypoint.sh +++ b/resources/docker/entrypoint.sh @@ -2,7 +2,7 @@ # shellcheck shell=dash # If the configuration file does not exist wait until it does. -while [ ! -f /opt/stalwart-mail/etc/config.toml ]; do +while [ ! -f /opt/stalwart-mail/etc/config.toml ] || grep -q "__CERT_PATH__" /opt/stalwart-mail/etc/common/tls.toml; do sleep 1 done