diff --git a/net-misc/chrony/chrony-2.2_pre1.ebuild b/net-misc/chrony/chrony-2.2_pre1-r1.ebuild similarity index 98% rename from net-misc/chrony/chrony-2.2_pre1.ebuild rename to net-misc/chrony/chrony-2.2_pre1-r1.ebuild index f745441b0286f..3b219f232e7ba 100644 --- a/net-misc/chrony/chrony-2.2_pre1.ebuild +++ b/net-misc/chrony/chrony-2.2_pre1-r1.ebuild @@ -107,7 +107,7 @@ src_install() { keepdir /var/{lib,log}/chrony insinto /etc/logrotate.d - newins "${FILESDIR}"/chrony.logrotate chrony + newins "${FILESDIR}"/chrony-2.2.logrotate chrony systemd_newunit "${FILESDIR}"/chronyd.service-r2 chronyd.service systemd_enable_ntpunit 50-chrony chronyd.service diff --git a/net-misc/chrony/files/chrony-2.2.logrotate b/net-misc/chrony/files/chrony-2.2.logrotate new file mode 100644 index 0000000000000..ae76c8de6af65 --- /dev/null +++ b/net-misc/chrony/files/chrony-2.2.logrotate @@ -0,0 +1,7 @@ +/var/log/chrony/*.log { + missingok + sharedscripts + postrotate + /usr/bin/chronyc cyclelogs + endscript +}