summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-08-17 06:38:54 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-08-17 06:38:54 +0000
commit5a81b5757d89e7076e24e2191cb4fdff3d438a88 (patch)
tree74a8f7baa4f17d529cdcdf6ee28f7ad5d4322650 /contrib
parentReleasing debian version 1.36.0-1. (diff)
downloadnetdata-5a81b5757d89e7076e24e2191cb4fdff3d438a88.tar.xz
netdata-5a81b5757d89e7076e24e2191cb4fdff3d438a88.zip
Merging upstream version 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