commit:     209cf7f8e102a0ab88a6c7f70cea3309526fb036
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun May 29 23:05:51 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun May 29 23:05:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=209cf7f8

sys-cluster/placement: create logdir

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/placement/placement-7.0.0-r1.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sys-cluster/placement/placement-7.0.0-r1.ebuild 
b/sys-cluster/placement/placement-7.0.0-r1.ebuild
index a1eb2e41c..54a93e358 100644
--- a/sys-cluster/placement/placement-7.0.0-r1.ebuild
+++ b/sys-cluster/placement/placement-7.0.0-r1.ebuild
@@ -86,6 +86,10 @@ python_install_all() {
        dobin tools/postgresql-migrate-db.sh
 
        newtmpfiles "${FILESDIR}/placement.tmpfile" placement.conf
+
+       dodir /var/log/placement
+       fperms placement:placement /var/log/placement
+       keepdir /var/log/placement
 }
 
 pkg_postinst() {

Reply via email to