summaryrefslogtreecommitdiffstats
path: root/netdata-installer.sh
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 /netdata-installer.sh
parentAdding upstream version 1.36.0. (diff)
downloadnetdata-f495e5588625ec192b6bc2287961e04b073f39d4.tar.xz
netdata-f495e5588625ec192b6bc2287961e04b073f39d4.zip
Adding upstream version 1.36.1.upstream/1.36.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-xnetdata-installer.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh
index f6f4fd520..941cf13f3 100755
--- a/netdata-installer.sh
+++ b/netdata-installer.sh
@@ -1443,6 +1443,9 @@ install_go() {
run chown "root:${NETDATA_GROUP}" "${NETDATA_PREFIX}/usr/libexec/netdata/plugins.d/go.d.plugin"
fi
run chmod 0750 "${NETDATA_PREFIX}/usr/libexec/netdata/plugins.d/go.d.plugin"
+ if command -v setcap 1>/dev/null 2>&1; then
+ run setcap cap_net_admin+epi "${NETDATA_PREFIX}/usr/libexec/netdata/plugins.d/go.d.plugin"
+ fi
rm -rf "${tmp}"
[ -n "${GITHUB_ACTIONS}" ] && echo "::endgroup::"