matrix-docker-ansible-deploy/roles/matrix-synapse/templates/synapse
Slavi Pantaleev d08b27784f Fix systemd services autostart problem with Docker 20.10
The Docker 19.04 -> 20.10 upgrade contains the following change
in `/usr/lib/systemd/system/docker.service`:

```
-BindsTo=containerd.service
-After=network-online.target firewalld.service containerd.service
+After=network-online.target firewalld.service containerd.service multi-user.target
-Requires=docker.socket
+Requires=docker.socket containerd.service
Wants=network-online.target
```

The `multi-user.target` requirement in `After` seems to be in conflict
with our `WantedBy=multi-user.target` and `After=docker.service` /
`Requires=docker.service` definitions, causing the following error on
startup for all of our systemd services:

> Job matrix-synapse.service/start deleted to break ordering cycle starting with multi-user.target/start

A workaround which appears to work is to add `DefaultDependencies=no`
to all of our services.
2020-12-10 11:43:20 +02:00
..
systemd Fix systemd services autostart problem with Docker 20.10 2020-12-10 11:43:20 +02:00
usr-local-bin Quote docker args in case inputs contain spaces 2019-10-14 08:59:56 +01:00
homeserver.yaml.j2 Upgrade Synapse (v1.23.0 -> v1.24.0) 2020-12-09 13:31:10 +02:00
synapse.log.config.j2 Make Synapse log messages a bit prettier 2019-07-04 18:19:52 +03:00