From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/consul/files/, app-admin/consul/
Date: Thu, 20 Oct 2016 07:57:25 +0000 (UTC) [thread overview]
Message-ID: <1476950238.d09f833fa67ff8d4889b9660b3bfa4f495c9c307.zmedico@gentoo> (raw)
commit: d09f833fa67ff8d4889b9660b3bfa4f495c9c307
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 20 07:55:24 2016 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu Oct 20 07:57:18 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d09f833f
app-admin/consul: add logrotate config
Package-Manager: portage-2.3.2
app-admin/consul/consul-0.6.4.ebuild | 2 ++
app-admin/consul/consul-0.7.0.ebuild | 2 ++
app-admin/consul/files/consul.logrotated | 8 ++++++++
3 files changed, 12 insertions(+)
diff --git a/app-admin/consul/consul-0.6.4.ebuild b/app-admin/consul/consul-0.6.4.ebuild
index 89b6d54..760b1a0 100644
--- a/app-admin/consul/consul-0.6.4.ebuild
+++ b/app-admin/consul/consul-0.6.4.ebuild
@@ -164,6 +164,8 @@ src_install() {
newinitd "${FILESDIR}/consul.initd" "${PN}"
newconfd "${FILESDIR}/consul.confd" "${PN}"
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/${PN}.logrotated" "${PN}"
systemd_dounit "${FILESDIR}/consul.service"
find "${WORKDIR}"/src/${GO_PN} -mindepth 1 -maxdepth 1 -type f -delete || die
diff --git a/app-admin/consul/consul-0.7.0.ebuild b/app-admin/consul/consul-0.7.0.ebuild
index dee540f..c3b7b2f 100644
--- a/app-admin/consul/consul-0.7.0.ebuild
+++ b/app-admin/consul/consul-0.7.0.ebuild
@@ -104,6 +104,8 @@ src_install() {
newinitd "${FILESDIR}/consul.initd" "${PN}"
newconfd "${FILESDIR}/consul.confd" "${PN}"
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/${PN}.logrotated" "${PN}"
systemd_dounit "${FILESDIR}/consul.service"
find "${WORKDIR}"/src/${GO_PN} -mindepth 1 -maxdepth 1 -type f -delete || die
diff --git a/app-admin/consul/files/consul.logrotated b/app-admin/consul/files/consul.logrotated
new file mode 100644
index 00000000..e27b8aa
--- /dev/null
+++ b/app-admin/consul/files/consul.logrotated
@@ -0,0 +1,8 @@
+/var/log/consul/consul.log {
+ su consul consul
+ missingok
+ size 5M
+ rotate 3
+ compress
+ copytruncate
+}
next reply other threads:[~2016-10-20 7:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-20 7:57 Zac Medico [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-05-13 18:08 [gentoo-commits] repo/gentoo:master commit in: app-admin/consul/files/, app-admin/consul/ Zac Medico
2016-10-25 16:21 Zac Medico
2016-01-22 17:52 Zac Medico
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1476950238.d09f833fa67ff8d4889b9660b3bfa4f495c9c307.zmedico@gentoo \
--to=zmedico@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox