opt/squid
2022-09-08 18:56:17 +02:00
..
.footprint Merge branch '3.6' into 3.7 2022-06-09 13:20:40 +02:00
.signature Merge branch '3.6' into 3.7 2022-09-08 18:56:17 +02:00
Pkgfile Merge branch '3.6' into 3.7 2022-09-08 18:56:17 +02:00
pre-install squid: fix dependencies, use --system in pre-install instead hardcoded user/group IDs 2020-10-19 10:25:52 +00:00
README squid: fix dependencies, use --system in pre-install instead hardcoded user/group IDs 2020-10-19 10:25:52 +00:00
squid squid: move pidfile and statedir to /run 2022-02-22 18:43:18 +01:00

README for squid 3.x

REQUIREMENTS

PRE-INSTALL
1. Create a system user/group squid:
   'groupadd -r squid'
   'useradd -g squid -r -d /var/squid -s /bin/false squid'
   'passwd -l squid'

POST-INSTALL
1. squid requires a mounted /dev/shm for shared memory access
2. add a cache_dir entry to /etc/squid/squid.conf:
   cache_dir aufs /var/squid 2000 16 256
3. run '/usr/sbin/squid -z' to build the cache structure

PRECAUTION
1. all directories used by squid must be chown to 
   squid.squid or to the effective cache user/group defined 
   in squid.conf