Improve if condition for including Postgres in matrix_media_repo_systemd_required_services_list

pull/2783/head
Slavi Pantaleev 12 months ago committed by GitHub
parent 63ee8e5bb9
commit bc0b73dd70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2580,7 +2580,7 @@ matrix_media_repo_systemd_required_services_list: |
{{
(['docker.service'])
+
([devture_postgres_identifier ~ '.service'] if devture_postgres_enabled else [])
([devture_postgres_identifier ~ '.service'] if devture_postgres_enabled and matrix_media_repo_database_hostname == devture_postgres_connection_hostname else [])
}}
######################################################################

Loading…
Cancel
Save