flatpak-cache: Remove pid file and switch to /srv

Signed-off-by: Leo Puvilland <leo@craftcat.dev>
This commit is contained in:
Leo Puvilland 2024-01-09 13:12:22 -08:00
parent 8593275199
commit 829273bad8
No known key found for this signature in database
GPG key ID: 20EA96682F9368EB

View file

@ -34,7 +34,7 @@ sslproxy_cert_error deny all
# Uncomment and adjust the following to add a disk cache directory.
maximum_object_size 6 GB
cache_dir ufs /srv/squid 20000 16 256
cache_dir ufs /srv 20000 16 256
# Leave coredumps in the first cache dir
coredump_dir /var/spool/squid
@ -45,6 +45,7 @@ coredump_dir /var/spool/squid
refresh_pattern -i dl.flathub.org\/.* 1440 20% 10080 override-expire ignore-no-cache ignore-no-store ignore-private
refresh_pattern . 0 20% 4320
pid_filename none
# <Client IP> <Username> [<Local Time>] "<Request Method> <Request URL> HTTP/<Protocol Version> <Response Status Code> \
# <Sent reply size (with hdrs)> <Referer> <User Agent> <Squid Request Status>:<Squid Hierarchy Status>