diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-02-04 03:04:41 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-02-04 03:04:41 +0000 |
commit | ea56e5fcfc3a42f34bb68d520431d581e4af1c52 (patch) | |
tree | e52ad3129c16d579703a08bb9830f038d88a517a | |
parent | ad637bdd5bbc9e245cd20d019f458b898483c212 (diff) | |
download | pfsense-packages-ea56e5fcfc3a42f34bb68d520431d581e4af1c52.tar.gz pfsense-packages-ea56e5fcfc3a42f34bb68d520431d581e4af1c52.tar.bz2 pfsense-packages-ea56e5fcfc3a42f34bb68d520431d581e4af1c52.zip |
increase memory cache size to 24 megs
-rw-r--r-- | packages/squid_ng.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/squid_ng.inc b/packages/squid_ng.inc index a8998753..1e9ad7a5 100644 --- a/packages/squid_ng.inc +++ b/packages/squid_ng.inc @@ -803,6 +803,11 @@ function custom_php_install_command() { mwexec("chown squid:squid /usr/local/etc/squid/advanced/acls/src_unrestricted_ip.acl"); mwexec("cp /usr/local/etc/squid/mime.conf.default /usr/local/etc/squid/mime.conf"); + /* set a few extra items noted by regan */ + mwexec("chgrp squid /dev/pf"); + mwexec("chmod g+rw /dev/pf"); + mwexec("chown squid:wheel /var/log/cache.log"); + update_output_window("Creating Proxy Server initialization scripts..."); $start = <<<EOD touch /tmp/ro_root_mount @@ -915,7 +920,7 @@ function write_static_squid_config() { fwrite($fout, "pid_filename /var/run/squid.pid\n"); fwrite($fout, "\n"); - fwrite($fout, "cache_mem 8 MB\n"); + fwrite($fout, "cache_mem 24 MB\n"); fwrite($fout, "cache_dir diskd /var/squid/cache 500 16 256\n"); fwrite($fout, "\n"); |