Properly stop all services when doing Postgres maintenance, not just the homeserver

This commit is contained in:
Slavi Pantaleev 2023-09-16 11:37:13 +03:00
parent e033520ce2
commit bff851c858

View file

@ -2959,10 +2959,7 @@ devture_postgres_gid: "{{ matrix_user_gid }}"
devture_postgres_connection_username: matrix
devture_postgres_db_name: matrix
devture_postgres_systemd_services_to_stop_for_maintenance_list: |
{{
['matrix-' + matrix_homeserver_implementation + '.service']
}}
devture_postgres_systemd_services_to_stop_for_maintenance_list: "{{ devture_systemd_service_manager_services_list_auto | map(attribute='name') | reject('equalto', (devture_postgres_identifier + '.service')) }}"
devture_postgres_managed_databases_auto: |
{{