mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
sys-cluster/placement: install tmpfile and logrotate
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
2
sys-cluster/placement/files/placement.tmpfile
Normal file
2
sys-cluster/placement/files/placement.tmpfile
Normal file
@@ -0,0 +1,2 @@
|
||||
d /var/lib/placement 0750 placement placement -
|
||||
d /var/log/placement 0750 placement placement -
|
||||
@@ -95,4 +95,11 @@ python_install_all() {
|
||||
dobin tools/postgresql-migrate-db.sh
|
||||
|
||||
newtmpfiles "${FILESDIR}/placement.tmpfile" placement.conf
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/placement.logrotate" placement
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process placement.conf
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user