Make matrix-synapse wanted by matrix-nginx-proxy only if enabled

This commit is contained in:
Slavi Pantaleev 2021-03-25 08:51:15 +02:00
parent 080658a2a9
commit 5b7dbe8275

View File

@ -1191,7 +1191,7 @@ matrix_nginx_proxy_synapse_frontend_proxy_locations: "{{ matrix_synapse_workers
matrix_nginx_proxy_systemd_wanted_services_list: |
{{
(['matrix-synapse.service'])
(['matrix-synapse.service'] if matrix_synapse_enabled else [])
+
(['matrix-corporal.service'] if matrix_corporal_enabled else [])
+