dev-python/flower: add logrotate config

Package-Manager: portage-2.2.28
This commit is contained in:
Zac Medico
2016-03-29 12:08:01 -07:00
parent 1569f05952
commit 1aec378925
2 changed files with 9 additions and 0 deletions
@@ -0,0 +1,7 @@
/var/log/flower/flower.log {
su flower flower
missingok
size 5M
rotate 3
compress
}
+2
View File
@@ -44,6 +44,8 @@ src_install() {
systemd_dounit "${FILESDIR}/${PN}.service"
keepdir /var/log/${PN}
fowners ${PN}:${PN} /var/log/${PN}
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
}
python_install() {