Improve if condition for including Postgres in matrix_media_repo_systemd_required_services_list

This commit is contained in:
Slavi Pantaleev 2023-07-17 08:07:49 +03:00 committed by GitHub
parent 63ee8e5bb9
commit bc0b73dd70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2580,7 +2580,7 @@ matrix_media_repo_systemd_required_services_list: |
{{ {{
(['docker.service']) (['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 [])
}} }}
###################################################################### ######################################################################