9 lines
333 B
Text
9 lines
333 B
Text
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
|