From: Georgy Yakovlev Date: Thu, 20 Jun 2019 09:01:08 +0000 (-0700) Subject: net-dns/dnscrypt-proxy: add logrotate file to live ebuild X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8f622db8da37097481c9150f152fd2b2ed2b31ec;p=gentoo.git net-dns/dnscrypt-proxy: add logrotate file to live ebuild Package-Manager: Portage-2.3.67, Repoman-2.3.15 Signed-off-by: Georgy Yakovlev --- diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild b/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild index 419d40281c69..721259c1364f 100644 --- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild +++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild @@ -62,6 +62,9 @@ src_install() { systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service dnscrypt-proxy.service systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket dnscrypt-proxy.socket + insinto /etc/logrotate.d + newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy + einstalldocs } diff --git a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.logrotate b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.logrotate new file mode 100644 index 000000000000..dcc603284a85 --- /dev/null +++ b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.logrotate @@ -0,0 +1,5 @@ +/var/log/dnscrypt-proxy/*.log { + copytruncate + missingok + notifempty +}