From cdd379ba824253f9bb15141775f91d975c50043a Mon Sep 17 00:00:00 2001 From: mwiegand Date: Mon, 29 Nov 2021 21:15:58 +0100 Subject: [PATCH] grafana purge dshboard dir --- bundles/grafana/items.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bundles/grafana/items.py b/bundles/grafana/items.py index 428b086..ddf188a 100644 --- a/bundles/grafana/items.py +++ b/bundles/grafana/items.py @@ -36,7 +36,12 @@ directories = { 'purge': True, }, '/var/lib/grafana': {}, - '/var/lib/grafana/dashboards': {}, + '/var/lib/grafana/dashboards': { + 'purge': True, + 'triggers': [ + 'svc_systemd:grafana-server:restart', + ], + }, } files = {