Resolves: #1716950 - Drop "sleep 1" from logrotate fragment

This commit is contained in:
Lubos Uhliarik 2019-10-08 13:40:20 +02:00
parent 0b6b88f2d6
commit fe7ff71e56
2 changed files with 5 additions and 3 deletions

View File

@ -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
}

View File

@ -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 <luhliari@redhat.com> - 7:4.8-5
- Resolves: #1716950 - Drop "sleep 1" from logrotate fragment
* Thu Aug 22 2019 Lubomir Rintel <lkundrak@v3.sk> - 7:4.8-4
- Move the NetworkManager dispatcher script out of /etc