mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-12-21 05:41:31 +00:00
adapted removal of ACME_CONTACT for nightly
This commit is contained in:
@@ -13,6 +13,7 @@ migrate_config_options() {
|
|||||||
SOLR_PORT
|
SOLR_PORT
|
||||||
FLATCURVE_EXPERIMENTAL
|
FLATCURVE_EXPERIMENTAL
|
||||||
DISABLE_IPv6
|
DISABLE_IPv6
|
||||||
|
ACME_CONTACT
|
||||||
)
|
)
|
||||||
|
|
||||||
for key in "${KEYS[@]}"; do
|
for key in "${KEYS[@]}"; do
|
||||||
@@ -51,6 +52,16 @@ migrate_config_options() {
|
|||||||
sed -i '/^DISABLE_IPv6=/d' "mailcow.conf"
|
sed -i '/^DISABLE_IPv6=/d' "mailcow.conf"
|
||||||
echo "ENABLE_IPV6=$new" >> "mailcow.conf"
|
echo "ENABLE_IPV6=$new" >> "mailcow.conf"
|
||||||
;;
|
;;
|
||||||
|
ACME_CONTACT)
|
||||||
|
echo "Deleting obsoleted ${key} in mailcow.conf"
|
||||||
|
sed -i '/^# Lets Encrypt registration contact information/d' mailcow.conf
|
||||||
|
sed -i '/^# Optional: Leave empty for none/d' mailcow.conf
|
||||||
|
sed -i '/^# This value is only used on first order!/d' mailcow.conf
|
||||||
|
sed -i '/^# Setting it at a later point will require the following steps:/d' mailcow.conf
|
||||||
|
sed -i '/^# https:\/\/docs.mailcow.email\/troubleshooting\/debug-reset_tls\//d' mailcow.conf
|
||||||
|
sed -i '/^ACME_CONTACT=.*/d' mailcow.conf
|
||||||
|
sed -i '/^#ACME_CONTACT=.*/d' mailcow.conf
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user