2076: fix the default for DEFER_ON_TLS_ERROR r=mergify[bot] a=nextgens ## What type of PR? bug-fix ## What does this PR do? The default wasn't set anywhere Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
@ -42,6 +42,7 @@ def is_valid_postconf_line(line):
and not line == ''
# Actual startup script
os.environ['DEFER_ON_TLS_ERROR'] = os.environ['DEFER_ON_TLS_ERROR'] if 'DEFER_ON_TLS_ERROR' in os.environ else 'True'
os.environ["FRONT_ADDRESS"] = system.get_host_address_from_environment("FRONT", "front")
os.environ["ADMIN_ADDRESS"] = system.get_host_address_from_environment("ADMIN", "admin")
os.environ["ANTISPAM_MILTER_ADDRESS"] = system.get_host_address_from_environment("ANTISPAM_MILTER", "antispam:11332")