diff options
author | Tomas Halgas <tomas@halgas.sk> | 2018-05-20 19:43:13 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-05-20 19:43:13 +0700 |
commit | 5794848bfbeef246be88da4692cfada183aa91eb (patch) | |
tree | 36fbcd0f580c2fb8aa2eee12ac305f26731384d6 /system/netdata | |
parent | 14bf99b8c8ab6a5f98abe148aa0ea7b3b08386ad (diff) | |
download | slackbuilds-5794848bfbeef246be88da4692cfada183aa91eb.tar.gz |
system/netdata: Add setcap for apps.plugins.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/netdata')
-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 |