mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
sys-auth/keystone: use root perms for logrotate
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -100,6 +100,9 @@ python_compile_all() {
|
|||||||
python_install_all() {
|
python_install_all() {
|
||||||
distutils-r1_python_install_all
|
distutils-r1_python_install_all
|
||||||
|
|
||||||
|
insinto /etc/logrotate.d
|
||||||
|
newins "${FILESDIR}/keystone.logrotate" keystone.conf
|
||||||
|
|
||||||
diropts -m 0750
|
diropts -m 0750
|
||||||
keepdir /etc/keystone /var/log/keystone
|
keepdir /etc/keystone /var/log/keystone
|
||||||
insinto /etc/keystone
|
insinto /etc/keystone
|
||||||
@@ -115,9 +118,6 @@ python_install_all() {
|
|||||||
|
|
||||||
newtmpfiles "${FILESDIR}/keystone.tmpfile" keystone.conf
|
newtmpfiles "${FILESDIR}/keystone.tmpfile" keystone.conf
|
||||||
|
|
||||||
insinto /etc/logrotate.d
|
|
||||||
newins "${FILESDIR}/keystone.logrotate" keystone.conf
|
|
||||||
|
|
||||||
systemd_dounit "${FILESDIR}/openstack-keystone.service"
|
systemd_dounit "${FILESDIR}/openstack-keystone.service"
|
||||||
|
|
||||||
insinto /usr/lib/sysctl.d/
|
insinto /usr/lib/sysctl.d/
|
||||||
Reference in New Issue
Block a user