From 9f0f21cf30b1dc2ef34ae4751dd1c0abb9797b48 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Fri, 26 Aug 2022 12:21:38 +0300 Subject: [PATCH] Pass --no-update to mautrix-discord Possibly fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2060 --- .../templates/systemd/matrix-mautrix-discord.service.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/matrix-bridge-mautrix-discord/templates/systemd/matrix-mautrix-discord.service.j2 b/roles/matrix-bridge-mautrix-discord/templates/systemd/matrix-mautrix-discord.service.j2 index 788cd012..3651840e 100644 --- a/roles/matrix-bridge-mautrix-discord/templates/systemd/matrix-mautrix-discord.service.j2 +++ b/roles/matrix-bridge-mautrix-discord/templates/systemd/matrix-mautrix-discord.service.j2 @@ -31,7 +31,7 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-mautrix-discor {{ arg }} \ {% endfor %} {{ matrix_mautrix_discord_docker_image }} \ - /usr/bin/mautrix-discord -c /config/config.yaml -r /config/registration.yaml + /usr/bin/mautrix-discord -c /config/config.yaml -r /config/registration.yaml --no-update ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-mautrix-discord 2>/dev/null || true' ExecStop=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-mautrix-discord 2>/dev/null || true'