flatpak-cache: Set permissions of PVC to squid user and generate swap
Signed-off-by: Leo Puvilland <leo@craftcat.dev>
This commit is contained in:
parent
50b97798eb
commit
9f3c71793d
3 changed files with 6 additions and 6 deletions
|
@ -31,7 +31,7 @@ spec:
|
|||
mountPath: /etc/squid
|
||||
readOnly: true
|
||||
- name: data
|
||||
mountPath: /srv
|
||||
mountPath: /var/spool/squid
|
||||
- name: flatpak-cache-ca-volume
|
||||
mountPath: /etc/pki/squid/ca
|
||||
readOnly: true
|
||||
|
|
|
@ -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 20000 16 256
|
||||
cache_dir ufs /var/spool/squid 20000 16 256
|
||||
|
||||
# Leave coredumps in the first cache dir
|
||||
coredump_dir /var/spool/squid
|
||||
|
@ -51,4 +51,4 @@ pid_filename none
|
|||
# <Sent reply size (with hdrs)> <Referer> <User Agent> <Squid Request Status>:<Squid Hierarchy Status>
|
||||
# logformat combined %>a %un [%tl] "%rm %ru HTTP/%rv" %>Hs %<st "%{Referer}>h" "%{User-Agent}>h" %Ss:%Sh
|
||||
access_log /var/log/squid/squid.log squid
|
||||
access_log /var/log/squid/access.log combined
|
||||
access_log /var/log/squid/access.log combined
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
exec /sbin/squid
|
||||
--foreground
|
||||
-f /etc/squid/squid.conf
|
||||
exec /usr/lib64/squid/security_file_certgen -M 4096 -c -s /var/spool/squid/ssl_db && \
|
||||
/sbin/squid -z && \
|
||||
/sbin/squid --foreground -f /etc/squid/squid.conf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue