summaryrefslogtreecommitdiffstats
path: root/contrib/debian/netdata-plugin-ebpf.postinst
blob: 3076d40481b339ba208e6f3724fefeda209c31ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

case "$1" in
  configure|reconfigure)
    grep /usr/libexec/netdata /var/lib/dpkg/info/netdata-plugin-ebpf.list | xargs -n 30 chown root:netdata
    chmod -f 4750 /usr/libexec/netdata/plugins.d/ebpf.plugin
    ;;
esac

#DEBHELPER#

exit 0