diff --git a/squid.logrotate b/squid.logrotate index 598f544..4af2d2d 100644 --- a/squid.logrotate +++ b/squid.logrotate @@ -7,7 +7,8 @@ sharedscripts postrotate # Asks squid to reopen its logs. (log_rotate 0 is set in squid.conf) - /usr/sbin/squid -k rotate + # 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 73e5bd5..690be0c 100644 --- a/squid.spec +++ b/squid.spec @@ -4,7 +4,7 @@ Name: squid Version: 3.0.STABLE18 -Release: 2%{?dist} +Release: 3%{?dist} Summary: The Squid proxy caching server Epoch: 7 License: GPLv2+ @@ -341,6 +341,9 @@ fi chgrp squid /var/cache/samba/winbindd_privileged >/dev/null 2>&1 || : %changelog +* Mon Aug 31 2009 Henrik Nordstrom - 3.0.STABLE18-3 +- Bug #520445 silence logrotate when Squid is not running + * Fri Aug 21 2009 Tomas Mraz - 7:3.0.STABLE18-2 - rebuilt with new openssl