mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
sys-cluster/heat: use root perms for logrotate
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user