archrelease: copy trunk to community-any
[ArchLinux/community.git] / netdata / trunk / netdata.install
blob3e51037b857c12445a8b986ccaffe2e30b88ac76
1 setcap_netdata() {
2   # https://github.com/netdata/netdata/tree/master/collectors/apps.plugin#permissions
3   setcap cap_dac_read_search,cap_sys_ptrace+ep /usr/lib/netdata/plugins.d/apps.plugin || chmod 1755 /usr/lib/netdata/plugins.d/apps.plugin
6 post_install() {
7   setcap_netdata
10 post_upgrade() {
11   setcap_netdata