Related: #1709299 - Use upstream squid.service

- fixed wrong paths to run dir + kill binary
This commit is contained in:
Lubos Uhliarik 2019-05-27 13:34:32 +02:00
parent 54aaa04d49
commit c5efa8f9fd
2 changed files with 4 additions and 4 deletions

View File

@ -6,11 +6,11 @@ After=network.target network-online.target nss-lookup.target
[Service]
Type=forking
LimitNOFILE=16384
PIDFile=/var/run/squid.pid
PIDFile=/run/squid.pid
EnvironmentFile=/etc/sysconfig/squid
ExecStartPre=/usr/libexec/squid/cache_swap.sh
ExecStart=/usr/sbin/squid $SQUID_OPTS -f $SQUID_CONF
ExecReload=/bin/kill -HUP $MAINPID
ExecReload=/usr/bin/kill -HUP $MAINPID
KillMode=mixed
[Install]

View File

@ -2,7 +2,7 @@
Name: squid
Version: 4.7
Release: 3%{?dist}
Release: 4%{?dist}
Summary: The Squid proxy caching server
Epoch: 7
# See CREDITS for breakdown of non GPLv2+ code
@ -282,7 +282,7 @@ fi
%changelog
* Wed May 22 2019 Lubos Uhliarik <luhliari@redhat.com> - 7:4.7-3
* Wed May 22 2019 Lubos Uhliarik <luhliari@redhat.com> - 7:4.7-4
- Related: #1709299 - Use upstream squid.service
* Fri May 17 2019 Luboš Uhliarik <luhliari@redhat.com> - 7:4.7-1