I'm trying to use a customisation file (custom.ini) for my Grafana installation. Unfortunately this isn't working.
What I have done:
Installed Grafana with
yum install grafana
Then I created a simple customisation file
vi /etc/grafana/custom.ini
With this content
default_theme = light
Restarted Grafana
systemctl restart grafana-server
Unfortunately the theme has not changed from dark to light.
If I uncomment the same line in the /etc/grafana/grafana.ini
then it is working correctly.
Any suggestions? Many Thanks
...the parameter is
/usr/sbin/grafana-server --config=/etc/grafana/grafana.ini
, also thecustom.ini
is not called at all. ...
You were correct at this point in your comments: a custom.ini
file is simply not used. The /etc/grafana/grafana.ini
file is the custom config file for your platform (Yum repo = rpm package).
See this comment by Grafana co-founder and the note in this docs section.