sys-cluster/heat: use root perms for logrotate

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-05-30 00:56:06 +02:00
parent cccb15764e
commit 2cdd140a84

View File

@@ -134,6 +134,9 @@ python_install_all() {
newinitd "${FILESDIR}/heat.initd" "heat-${svc}"
done
insinto /etc/logrotate.d
doins "${FILESDIR}/heat.logrotate"
insinto /etc/heat
insopts -m 0640 -o heat -g heat
doins etc/heat/heat.conf.sample
@@ -151,8 +154,5 @@ python_install_all() {
systemd_dounit "${FILESDIR}/heat-engine.service"
systemd_dounit "${FILESDIR}/heat-api.service"
insinto /etc/logrotate.d
doins "${FILESDIR}/heat.logrotate"
rm -r "${ED}/usr/etc"
}