grafana/004-distro-defaults-ini.patch

25 lines
918 B
Diff

Index: grafana-6.4.3/conf/defaults.ini
===================================================================
--- grafana-6.4.3.orig/conf/defaults.ini
+++ grafana-6.4.3/conf/defaults.ini
@@ -12,16 +12,16 @@ instance_name = ${HOSTNAME}
#################################### Paths ###############################
[paths]
# Path to where grafana can store temp files, sessions, and the sqlite3 db (if that is used)
-data = data
+data = /var/lib/grafana
# Temporary files in `data` directory older than given duration will be removed
temp_data_lifetime = 24h
# Directory where grafana can store logs
-logs = data/log
+logs = /var/log/grafana
# Directory where grafana will automatically scan and look for plugins
-plugins = data/plugins
+plugins = /var/lib/grafana/plugins
# folder that contains provisioning config files that grafana will apply on startup and while running.
provisioning = conf/provisioning