diff options
author | Zac Medico <zmedico@gentoo.org> | 2016-03-29 12:07:22 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2016-03-29 12:08:01 -0700 |
commit | 1aec3789256b0a58e8cefd3248a3954a79b7c7b9 (patch) | |
tree | 097231cb1cea3aa5c3876bd25e670f54a559b6a3 /dev-python | |
parent | kde-apps/kde-meta: Relax slot on kde-apps/kdeartwork-meta (diff) | |
download | gentoo-1aec3789256b0a58e8cefd3248a3954a79b7c7b9.tar.gz gentoo-1aec3789256b0a58e8cefd3248a3954a79b7c7b9.tar.bz2 gentoo-1aec3789256b0a58e8cefd3248a3954a79b7c7b9.zip |
dev-python/flower: add logrotate config
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/flower/files/flower.logrotated | 7 | ||||
-rw-r--r-- | dev-python/flower/flower-0.8.4.ebuild | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/dev-python/flower/files/flower.logrotated b/dev-python/flower/files/flower.logrotated new file mode 100644 index 000000000000..7a0ce640a908 --- /dev/null +++ b/dev-python/flower/files/flower.logrotated @@ -0,0 +1,7 @@ +/var/log/flower/flower.log { + su flower flower + missingok + size 5M + rotate 3 + compress +} diff --git a/dev-python/flower/flower-0.8.4.ebuild b/dev-python/flower/flower-0.8.4.ebuild index 2feb9ea58f00..4a2a0e77cd3c 100644 --- a/dev-python/flower/flower-0.8.4.ebuild +++ b/dev-python/flower/flower-0.8.4.ebuild @@ -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() { |