mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-15 09:00:26 +08:00
Skip ACME client for other certificates than LE
This commit is contained in:
parent
08edc1d1d3
commit
5aba885b58
@ -11,6 +11,12 @@ restart_containers(){
|
||||
done
|
||||
}
|
||||
|
||||
if [[ $(openssl x509 -in ${ACME_BASE}/cert.pem -noout -issuer) != *"Let's Encrypt"* &&
|
||||
$(openssl x509 -in ${ACME_BASE}/cert.pem -noout -issuer) != *"mailcow"* ]]; then
|
||||
echo "Skipping ACME client"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
while true; do
|
||||
|
||||
declare -a SQL_DOMAIN_ARR
|
||||
|
Loading…
Reference in New Issue
Block a user