Fixed #855111: synchronous shutdown

This commit is contained in:
Michal Luscon 2014-06-13 14:15:01 +02:00
parent 1cf2c264ec
commit 15336a7c26
2 changed files with 5 additions and 1 deletions

View File

@ -12,6 +12,7 @@ ExecStartPre=/usr/libexec/squid/cache_swap.sh
ExecStart=/usr/sbin/squid $SQUID_OPTS -f $SQUID_CONF
ExecReload=/usr/sbin/squid $SQUID_OPTS -k reconfigure -f $SQUID_CONF
ExecStop=/usr/sbin/squid -k shutdown -f $SQUID_CONF
TimeoutSec=0
[Install]
WantedBy=multi-user.target

View File

@ -2,7 +2,7 @@
Name: squid
Version: 3.4.5
Release: 5%{?dist}
Release: 6%{?dist}
Summary: The Squid proxy caching server
Epoch: 7
# See CREDITS for breakdown of non GPLv2+ code
@ -290,6 +290,9 @@ fi
%changelog
* Fri Jun 13 2014 Michal Luscon <mluscon@redhat.com> - 7:3.4.5-6
- Fixed #855111: set unlimited start and shutdown timeout
* Sun Jun 08 2014 Michal Luscon <mluscon@redhat.com> - 7:3.4.5-5
- Run squid under user and group squid