matrix-docker-ansible-deploy/roles/matrix-postgres/tasks/util
Slavi Pantaleev 86da489b9b Never fail when stopping systemd service during (SQLite -> Postgres) migration
We need to suppress systemd service-stopping requests in certain rare
cases like https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/771

That issue seems to describe a case, where a migration from mxisd to
ma1sd was happening (DB files had just been moved), and then we were
attemping to stop `matrix-ma1sd.service` so we could import that database into
Postgres. However, there's neither `matrix-mxisd.service`, nor
`matrix-ma1sd.service` after `migrate_mxisd.yml` had just run, so
stopping `matrix-ma1sd.service` was failing.
2020-12-29 10:31:20 +02:00
..
create_additional_database.yml Use "password" for additional Postgres databases, not "pass" 2020-12-14 00:43:03 +02:00
create_additional_databases.yml Ensure matrix-postgres.service is started before creating additional users/databases 2020-12-14 00:59:59 +02:00
detect_existing_postgres_version.yml Add support for postgres 13 2020-09-30 16:50:59 -05:00
migrate_db_to_postgres.yml Never fail when stopping systemd service during (SQLite -> Postgres) migration 2020-12-29 10:31:20 +02:00