diff options
author | Tomas Halgas | 2018-05-20 14:43:13 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2018-05-20 14:43:13 +0200 |
commit | b498c8d58b084aeccb9f09717cbdfe7b51665af5 (patch) | |
tree | 326dce1350122e2135e6db5d222d3d1d029878b3 /system | |
parent | 3e13c69615265f8bb16da751be07dd649bd89c79 (diff) | |
download | old.slackbuilds-b498c8d58b084aeccb9f09717cbdfe7b51665af5.tar.gz |
system/netdata: Add setcap for apps.plugins.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/netdata/doinst.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/system/netdata/doinst.sh b/system/netdata/doinst.sh index ff22a1f0ed..65dbb24ba0 100644 --- a/system/netdata/doinst.sh +++ b/system/netdata/doinst.sh @@ -43,3 +43,7 @@ for L in `ls etc/netdata/health.d/*.new` do config $L done + +if [ -x /usr/libexec/netdata/plugins.d/apps.plugin ] ; then + setcap cap_dac_read_search,cap_sys_ptrace+ep /usr/libexec/netdata/plugins.d/apps.plugin +fi |