Fix indentation in templates

Use Jinja2 lstrip_blocks option in templates to ensure consistent
indentation in generated files.
This commit is contained in:
Hugues De Keyzer
2019-05-07 21:23:35 +02:00
parent 0e7310fd7c
commit c451025134
43 changed files with 43 additions and 0 deletions

View File

@ -1,2 +1,3 @@
#jinja2: lstrip_blocks: "True"
SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
SYNAPSE_CACHE_FACTOR={{ matrix_synapse_cache_factor }}

View File

@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
# vim:ft=yaml
## Server ##

View File

@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
version: 1

View File

@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
[Unit]
Description=Synapse server
{% for service in matrix_synapse_systemd_required_services_list %}

View File

@ -1,3 +1,4 @@
#jinja2: lstrip_blocks: "True"
#!/bin/bash
if [ $# -ne 3 ]; then