1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-12-19 21:01:31 +00:00

Use config.json to render multiple Jinja2 templates

This commit is contained in:
FreddleSpl0it
2025-05-22 14:07:39 +02:00
parent 13b4f86d29
commit dba9675a9b
18 changed files with 329 additions and 88 deletions

View File

@@ -47,7 +47,7 @@ class Bootstrap(BootstrapBase):
self.set_timezone()
print("Render config")
self.render_config("whitelist.ign2.j2", "/var/lib/clamav/whitelist.ign2", clean_blank_lines=True)
self.render_config("/etc/clamav/config.json")
# Fix permissions
self.set_owner("/var/lib/clamav", "clamav", "clamav", recursive=True)