Fixed Docker entrypoint

This commit is contained in:
mdecimus 2023-10-26 10:01:14 +02:00
parent 39ec03e9cc
commit 2938b98e18

View file

@ -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