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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user