diff options
| -rw-r--r-- | meta-webserver/recipes-webadmin/netdata/netdata_1.47.3.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-webserver/recipes-webadmin/netdata/netdata_1.47.3.bb b/meta-webserver/recipes-webadmin/netdata/netdata_1.47.3.bb index 3b9ae9ca89..bc73e40eff 100644 --- a/meta-webserver/recipes-webadmin/netdata/netdata_1.47.3.bb +++ b/meta-webserver/recipes-webadmin/netdata/netdata_1.47.3.bb | |||
| @@ -87,6 +87,12 @@ do_install:append() { | |||
| 87 | chmod 4750 ${D}${libexecdir}/netdata/plugins.d/apps.plugin | 87 | chmod 4750 ${D}${libexecdir}/netdata/plugins.d/apps.plugin |
| 88 | rm -rf ${D}/${localstatedir}/ | 88 | rm -rf ${D}/${localstatedir}/ |
| 89 | 89 | ||
| 90 | if ${@bb.utils.contains('PACKAGECONFIG', 'xenstat', 'true', 'false', d)}; then | ||
| 91 | # Set S UID for xenstat plugin | ||
| 92 | chown root:netdata ${D}${libexecdir}/netdata/plugins.d/xenstat.plugin | ||
| 93 | chmod 4750 ${D}${libexecdir}/netdata/plugins.d/xenstat.plugin | ||
| 94 | fi | ||
| 95 | |||
| 90 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | 96 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then |
| 91 | # Install systemd unit files | 97 | # Install systemd unit files |
| 92 | install -Dm 0644 ${UNPACKDIR}/netdata-volatiles.conf ${D}${sysconfdir}/tmpfiles.d/netdata.conf | 98 | install -Dm 0644 ${UNPACKDIR}/netdata-volatiles.conf ${D}${sysconfdir}/tmpfiles.d/netdata.conf |
