From 2cdd140a843387d6fd3b744d780613660357f52d Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Mon, 30 May 2022 00:56:06 +0200 Subject: [PATCH] sys-cluster/heat: use root perms for logrotate Signed-off-by: Alessandro Barbieri --- .../heat/{heat-18.0.0.ebuild => heat-18.0.0-r1.ebuild} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename sys-cluster/heat/{heat-18.0.0.ebuild => heat-18.0.0-r1.ebuild} (100%) diff --git a/sys-cluster/heat/heat-18.0.0.ebuild b/sys-cluster/heat/heat-18.0.0-r1.ebuild similarity index 100% rename from sys-cluster/heat/heat-18.0.0.ebuild rename to sys-cluster/heat/heat-18.0.0-r1.ebuild index 45120c6ffc..79911f0e05 100644 --- a/sys-cluster/heat/heat-18.0.0.ebuild +++ b/sys-cluster/heat/heat-18.0.0-r1.ebuild @@ -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" }