diff options
author | Zac Medico <zmedico@gentoo.org> | 2016-10-20 00:47:29 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2016-10-20 00:48:12 -0700 |
commit | 3db391486f339af5536d7942bc51d9c5ad60cabe (patch) | |
tree | 0e00cdd4bacc14a53d78f0a3618635c1acf375de | |
parent | dev-vcs/gitg: cleanup old revisions (diff) | |
download | gentoo-3db391486f339af5536d7942bc51d9c5ad60cabe.tar.gz gentoo-3db391486f339af5536d7942bc51d9c5ad60cabe.tar.bz2 gentoo-3db391486f339af5536d7942bc51d9c5ad60cabe.zip |
app-admin/vault: add logrotate config
Package-Manager: portage-2.3.2
-rw-r--r-- | app-admin/vault/files/vault.logrotated | 8 | ||||
-rw-r--r-- | app-admin/vault/vault-0.5.3.ebuild | 2 | ||||
-rw-r--r-- | app-admin/vault/vault-0.6.2.ebuild | 2 |
3 files changed, 12 insertions, 0 deletions
diff --git a/app-admin/vault/files/vault.logrotated b/app-admin/vault/files/vault.logrotated new file mode 100644 index 000000000000..db2436359165 --- /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 2a42585a20a2..31c138aaebbc 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 ade0af0668cd..f16d491d94e0 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 |