Package-Manager: portage-2.3.2
# The group to run your application as.
GRAFANA_GROUP=grafana
+
+# Starting with 4.0, grafana uses a lot of file descriptors.
+# If you run into the default limit of 1024, uncomment this line and if needed,
+# bump its value.
+#rc_ulimit="-n 10000"
fowners grafana:grafana /var/{lib,log}/grafana
fperms 0750 /var/{lib,log}/grafana
}
+
+post_install() {
+ einfo "Starting with version 4.0, Grafana is using a lot more file"
+ einfo "descriptors. You can bump the limit (by default 1024) by"
+ einfo "uncommenting the relevant line in /etc/conf.d/grafana."
+}