void-packages/srcpkgs/netdata/INSTALL
2017-01-30 01:33:24 -05:00

9 lines
325 B
Text

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