summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-analyzer/netdata/netdata-9999.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/net-analyzer/netdata/netdata-9999.ebuild b/net-analyzer/netdata/netdata-9999.ebuild
index 183c7fd636ca..5bf3bf1042d3 100644
--- a/net-analyzer/netdata/netdata-9999.ebuild
+++ b/net-analyzer/netdata/netdata-9999.ebuild
@@ -121,3 +121,9 @@ src_install() {
insinto /etc/netdata
doins system/netdata.conf
}
+
+pkg_postinst() {
+ if use xen ; then
+ fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/xenstat.plugin'
+ fi
+}