summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-08-17 06:38:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-08-17 06:38:50 +0000
commitf495e5588625ec192b6bc2287961e04b073f39d4 (patch)
treebd724ecda3897d17008b3d289e3da988fd171ef3 /contrib
parentAdding upstream version 1.36.0. (diff)
downloadnetdata-upstream/1.36.1.tar.xz
netdata-upstream/1.36.1.zip
Adding upstream version 1.36.1.upstream/1.36.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/debian/netdata.postinst4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/debian/netdata.postinst b/contrib/debian/netdata.postinst
index 12b1d97b7..cf6a76060 100644
--- a/contrib/debian/netdata.postinst
+++ b/contrib/debian/netdata.postinst
@@ -63,6 +63,10 @@ case "$1" in
setcap cap_sys_admin+ep /usr/libexec/netdata/plugins.d/perf.plugin
fi
+ if [ -f "/usr/libexec/netdata/plugins.d/go.d.plugin" ]; then
+ setcap cap_net_admin+epi /usr/libexec/netdata/plugins.d/go.d.plugin
+ fi
+
chmod 4750 /usr/libexec/netdata/plugins.d/cgroup-network
chmod 4750 /usr/libexec/netdata/plugins.d/nfacct.plugin