From 05f7d912b0a6e37099b7009d4b16d6fab4b18235 Mon Sep 17 00:00:00 2001 From: Sophie Schiller Date: Sun, 4 Jul 2021 21:06:51 +0200 Subject: [PATCH] bw/matrix-dimension disable logfile --- bundles/matrix-dimension/files/production.yaml | 5 ----- bundles/matrix-dimension/items.py | 3 +++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/bundles/matrix-dimension/files/production.yaml b/bundles/matrix-dimension/files/production.yaml index 5bfcfdd..321f6d2 100644 --- a/bundles/matrix-dimension/files/production.yaml +++ b/bundles/matrix-dimension/files/production.yaml @@ -89,10 +89,5 @@ stickers: # Settings for controlling how logging works logging: - file: "${config['data_dir']}/logs/dimension.log" console: true consoleLevel: info - fileLevel: verbose - rotate: - size: 52428800 # bytes, default is 50mb - count: 5 diff --git a/bundles/matrix-dimension/items.py b/bundles/matrix-dimension/items.py index 8bdf28f..8af625b 100644 --- a/bundles/matrix-dimension/items.py +++ b/bundles/matrix-dimension/items.py @@ -34,6 +34,9 @@ files = { 'action:element-web_yarn', 'directory:{}'.format(node.metadata['matrix-dimension']['install_dir']), }, + 'triggers': { + 'svc_systemd:matrix-dimension:restart', + }, }, '/etc/systemd/system/matrix-dimension.service': { 'content_type': 'mako',