public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/vault/, app-admin/vault/files/
Date: Thu, 20 Oct 2016 07:48:20 +0000 (UTC)	[thread overview]
Message-ID: <1476949692.3db391486f339af5536d7942bc51d9c5ad60cabe.zmedico@gentoo> (raw)

commit:     3db391486f339af5536d7942bc51d9c5ad60cabe
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 20 07:47:29 2016 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu Oct 20 07:48:12 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3db39148

app-admin/vault: add logrotate config

Package-Manager: portage-2.3.2

 app-admin/vault/files/vault.logrotated | 8 ++++++++
 app-admin/vault/vault-0.5.3.ebuild     | 2 ++
 app-admin/vault/vault-0.6.2.ebuild     | 2 ++
 3 files changed, 12 insertions(+)

diff --git a/app-admin/vault/files/vault.logrotated b/app-admin/vault/files/vault.logrotated
new file mode 100644
index 00000000..db24363
--- /dev/null
+++ b/app-admin/vault/files/vault.logrotated
@@ -0,0 +1,8 @@
+/var/log/vault/vault.log {
+	su vault vault
+	missingok
+	size 5M
+	rotate 3
+	compress
+	copytruncate
+}

diff --git a/app-admin/vault/vault-0.5.3.ebuild b/app-admin/vault/vault-0.5.3.ebuild
index 2a42585..31c138a 100644
--- a/app-admin/vault/vault-0.5.3.ebuild
+++ b/app-admin/vault/vault-0.5.3.ebuild
@@ -44,6 +44,8 @@ src_install() {
 	dodoc "${S}"/src/${EGO_PN%/*}/{CHANGELOG.md,CONTRIBUTING.md,README.md}
 	newinitd "${FILESDIR}/${PN}.initd" "${PN}"
 	newconfd "${FILESDIR}/${PN}.confd" "${PN}"
+	insinto /etc/logrotate.d
+	newins "${FILESDIR}/${PN}.logrotated" "${PN}"
 	systemd_dounit "${FILESDIR}/${PN}.service"
 
 	keepdir /etc/${PN}.d

diff --git a/app-admin/vault/vault-0.6.2.ebuild b/app-admin/vault/vault-0.6.2.ebuild
index ade0af0..f16d491 100644
--- a/app-admin/vault/vault-0.6.2.ebuild
+++ b/app-admin/vault/vault-0.6.2.ebuild
@@ -91,6 +91,8 @@ src_install() {
 	dodoc "${S}"/src/${EGO_PN%/*}/{CHANGELOG.md,CONTRIBUTING.md,README.md}
 	newinitd "${FILESDIR}/${PN}.initd" "${PN}"
 	newconfd "${FILESDIR}/${PN}.confd" "${PN}"
+	insinto /etc/logrotate.d
+	newins "${FILESDIR}/${PN}.logrotated" "${PN}"
 	systemd_dounit "${FILESDIR}/${PN}.service"
 
 	keepdir /etc/${PN}.d


             reply	other threads:[~2016-10-20  7:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-20  7:48 Zac Medico [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-02-21 20:49 [gentoo-commits] repo/gentoo:master commit in: app-admin/vault/, app-admin/vault/files/ Robin H. Johnson
2017-09-01 19:26 Zac Medico
2021-09-16 22:07 William Hubbs
2024-03-29 21:21 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=1476949692.3db391486f339af5536d7942bc51d9c5ad60cabe.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