1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-06-17 00:07:45 +02:00

copy (and not parse) mta sts override config

This commit is contained in:
Alexander Graf
2021-09-09 18:45:39 +02:00
parent b02ceab72f
commit 05c79b0e3c

View File

@ -76,7 +76,7 @@ for map_file in glob.glob("/overrides/*.map"):
os.remove(destination) os.remove(destination)
if os.path.exists("/overrides/mta-sts-daemon.yml"): if os.path.exists("/overrides/mta-sts-daemon.yml"):
conf.jinja("/overrides/mta-sts-daemon.yml", os.environ, "/etc/mta-sts-daemon.yml") shutil.copyfile("/overrides/mta-sts-daemon.yml", "/etc/mta-sts-daemon.yml")
else: else:
conf.jinja("/conf/mta-sts-daemon.yml", os.environ, "/etc/mta-sts-daemon.yml") conf.jinja("/conf/mta-sts-daemon.yml", os.environ, "/etc/mta-sts-daemon.yml")