From 7a81c469fdf8b6d0fcf1774373a097bddb0f44f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 25 Oct 2023 00:04:14 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 8a13bee..86d3d6d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -91,7 +91,7 @@ fi sed -i "/^\[server\]$/,/^\[/ s@serve_from_sub_path = .*@serve_from_sub_path = false@" "/etc/grafana/grafana.ini" # Update Grafana LDAP authentication configuration -cp ../conf/ldap.toml /etc/grafana +ynh_add_config --template="ldap.toml" --destination="/etc/grafana/ldap.toml" # Update default dashboard for NetData (source: https://grafana.com/grafana/dashboards/2701) # Remove new lines