aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-05-30 01:02:15 +0200
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-05-30 01:02:15 +0200
commite3d352d8fade400644367fdd2b2344f657c404a8 (patch)
tree1a984c9c8d2412332ac6838ac32e809e34fdc2de /sys-auth
parentsys-cluster/heat: use root perms for logrotate (diff)
downloadguru-e3d352d8fade400644367fdd2b2344f657c404a8.tar.gz
guru-e3d352d8fade400644367fdd2b2344f657c404a8.tar.bz2
guru-e3d352d8fade400644367fdd2b2344f657c404a8.zip
sys-auth/keystone: use root perms for logrotate
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/keystone/keystone-21.0.0-r2.ebuild (renamed from sys-auth/keystone/keystone-21.0.0-r1.ebuild)6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-auth/keystone/keystone-21.0.0-r1.ebuild b/sys-auth/keystone/keystone-21.0.0-r2.ebuild
index bf0863462..4630d4695 100644
--- a/sys-auth/keystone/keystone-21.0.0-r1.ebuild
+++ b/sys-auth/keystone/keystone-21.0.0-r2.ebuild
@@ -100,6 +100,9 @@ python_compile_all() {
python_install_all() {
distutils-r1_python_install_all
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/keystone.logrotate" keystone.conf
+
diropts -m 0750
keepdir /etc/keystone /var/log/keystone
insinto /etc/keystone
@@ -115,9 +118,6 @@ python_install_all() {
newtmpfiles "${FILESDIR}/keystone.tmpfile" keystone.conf
- insinto /etc/logrotate.d
- newins "${FILESDIR}/keystone.logrotate" keystone.conf
-
systemd_dounit "${FILESDIR}/openstack-keystone.service"
insinto /usr/lib/sysctl.d/