mirror of
https://github.com/YunoHost-Apps/grafana_ynh.git
synced 2024-09-03 20:36:29 +02:00
Merge pull request #99 from YunoHost-Apps/fix_grafana_9.5_ldap_auth
This commit is contained in:
commit
53810bafdf
2 changed files with 5 additions and 0 deletions
|
@ -78,4 +78,6 @@ group_dn = "*"
|
|||
org_role = "Admin"
|
||||
# The Grafana organization database id, optional, if left out the default org (id 1) will be used
|
||||
org_id = 1
|
||||
# Make users grafana admins
|
||||
grafana_admin = true
|
||||
|
||||
|
|
|
@ -146,6 +146,9 @@ EOF
|
|||
ynh_systemd_action --service_name=netdata --action="restart"
|
||||
fi
|
||||
|
||||
# Update Grafana LDAP authentication configuration
|
||||
cp ../conf/ldap.toml /etc/grafana
|
||||
|
||||
# Update default dashboard for NetData (source: https://grafana.com/grafana/dashboards/2701)
|
||||
# Remove new lines
|
||||
tr -d '\n' < ../conf/netdata_dashboard.json > dashboard.json
|
||||
|
|
Loading…
Reference in a new issue