diff --git a/squid.logrotate b/squid.logrotate index 4a0406f..c88da04 100644 --- a/squid.logrotate +++ b/squid.logrotate @@ -2,6 +2,7 @@ weekly rotate 5 compress + delaycompress notifempty missingok nocreate @@ -10,7 +11,5 @@ # Asks squid to reopen its logs. (logfile_rotate 0 is set in squid.conf) # errors redirected to make it silent if squid is not running /usr/sbin/squid -k rotate 2>/dev/null - # Wait a little to allow Squid to catch up before the logs is compressed - sleep 1 endscript } diff --git a/squid.spec b/squid.spec index c51e782..b289ed4 100644 --- a/squid.spec +++ b/squid.spec @@ -2,7 +2,7 @@ Name: squid Version: 4.8 -Release: 4%{?dist} +Release: 5%{?dist} Summary: The Squid proxy caching server Epoch: 7 # See CREDITS for breakdown of non GPLv2+ code @@ -289,6 +289,9 @@ fi %changelog +* Tue Oct 08 2019 Lubos Uhliarik - 7:4.8-5 +- Resolves: #1716950 - Drop "sleep 1" from logrotate fragment + * Thu Aug 22 2019 Lubomir Rintel - 7:4.8-4 - Move the NetworkManager dispatcher script out of /etc