10 lines
333 B
Plaintext
10 lines
333 B
Plaintext
case ${ACTION} in
|
|
post)
|
|
chown _netdata:root var/lib/netdata/registry/
|
|
chown -R _netdata:_netdata usr/share/netdata/web
|
|
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
|