diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-08-17 06:38:54 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-08-17 06:38:54 +0000 |
commit | 5a81b5757d89e7076e24e2191cb4fdff3d438a88 (patch) | |
tree | 74a8f7baa4f17d529cdcdf6ee28f7ad5d4322650 /netdata-installer.sh | |
parent | Releasing debian version 1.36.0-1. (diff) | |
download | netdata-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 'netdata-installer.sh')
-rwxr-xr-x | netdata-installer.sh | 3 |
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::" |