10 lines
325 B
Plaintext
10 lines
325 B
Plaintext
case ${ACTION} in
|
|
post)
|
|
chown _netdata:_netdata var/lib/netdata/
|
|
chown _netdata:root var/lib/netdata/registry/
|
|
chown root usr/libexec/netdata/plugins.d/apps.plugin
|
|
chmod 0755 usr/libexec/netdata/plugins.d/apps.plugin
|
|
setcap cap_dac_read_search,cap_sys_ptrace+ep usr/libexec/netdata/plugins.d/apps.plugin
|
|
;;
|
|
esac
|