Commit 0c46def1 by Kevin Bowling Committed by Torkel Ödegaard

Add an idiomatic plugin path for FreeBSD (#7410)

parent 513fcdee
...@@ -40,6 +40,8 @@ func returnOsDefault(currentOs string) string { ...@@ -40,6 +40,8 @@ func returnOsDefault(currentOs string) string {
return "../data/plugins" return "../data/plugins"
case "darwin": case "darwin":
return "/usr/local/var/lib/grafana/plugins" return "/usr/local/var/lib/grafana/plugins"
case "freebsd":
return "/var/db/grafana/plugins"
default: //"linux" default: //"linux"
return "/var/lib/grafana/plugins" return "/var/lib/grafana/plugins"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment