summaryrefslogtreecommitdiffstats
path: root/packaging/cmake/pkg-files/deb/plugin-ebpf/postinst
blob: 76770228222ef45fcd1fe9ab807178d176ef70e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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

exit 0