Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3768669
D3379.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D3379.id.diff
View Options
diff --git a/roles/grafana/grafana/files/grafana.ini b/roles/grafana/grafana/files/grafana.ini
--- a/roles/grafana/grafana/files/grafana.ini
+++ b/roles/grafana/grafana/files/grafana.ini
@@ -16,7 +16,7 @@
[paths]
data = /var/db/grafana
logs = /var/log/grafana
-plugins = /var/db/grafana/plugins
+plugins = /var/lib/grafana/plugins
provisioning = /usr/local/etc/grafana/provisioning
[server]
diff --git a/roles/grafana/grafana/init.sls b/roles/grafana/grafana/init.sls
--- a/roles/grafana/grafana/init.sls
+++ b/roles/grafana/grafana/init.sls
@@ -49,11 +49,11 @@
# Plugins access by nginx
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-/var/db/grafana:
+/var/lib/grafana:
file.directory:
- mode: 0751
-/var/db/grafana/plugins:
+/var/lib/grafana/plugins:
file.directory:
- user: grafana
- group: web
diff --git a/roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/grafana.conf b/roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/grafana.conf
--- a/roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/grafana.conf
+++ b/roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/grafana.conf
@@ -51,7 +51,7 @@
}
location /public/plugins {
- alias /var/db/grafana/plugins;
+ alias /var/lib/grafana/plugins;
}
location / {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 09:34 (16 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2258672
Default Alt Text
D3379.id.diff (1 KB)
Attached To
Mode
D3379: Move Grafana plugins directory to default location
Attached
Detach File
Event Timeline
Log In to Comment