SHA256
1
0
forked from pool/squid

Accepting request 999891 from home:computersalat:devel:proxy

fix PIDFile

OBS-URL: https://build.opensuse.org/request/show/999891
OBS-URL: https://build.opensuse.org/package/show/server:proxy/squid?expand=0&rev=258
This commit is contained in:
Adam Majer 2022-08-29 11:10:51 +00:00 committed by Git OBS Bridge
parent 3d5852fb75
commit e83ebc1600
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Aug 29 08:25:53 UTC 2022 - chris@computersalat.de
- fix PIDFile
* NOT needed in service file
(squid.service: Can't open PID file /run/squid.pid)
* placed to tmpfilesdir
-------------------------------------------------------------------
Wed Jun 29 11:31:00 UTC 2022 - Stefan Schubert <schubi@suse.com>

View File

@ -22,7 +22,6 @@ ExecStartPre=%{_libexecdir}/squid/initialize_cache_if_needed.sh
ExecStart=/usr/sbin/squid -FC
ExecReload=/usr/bin/kill -HUP $MAINPID
LimitNOFILE=4096
PIDFile=/run/squid.pid
[Install]
WantedBy=multi-user.target

View File

@ -121,7 +121,7 @@ export LDFLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro,-z,now -pie"
--datadir=%{_datadir}/squid \
--sharedstatedir=%{_localstatedir}/squid \
--with-logdir=%{_localstatedir}/log/squid \
--with-pidfile=/run/squid.pid \
--with-pidfile=%{_rundir}/%{name}/squid.pid \
--with-dl \
--enable-disk-io \
--enable-storeio \