FreeBSD Port: squid-3.1.7

Thomas-Martin Seck tmseck at web.de
Wed Sep 8 17:37:29 UTC 2010


* Paul Gabriel (paulgab at me.com):

> Hi, I'm trying to run more than one instance of squid on a system. Due
> to this, in the rc.conf I'm trying configure each instance to use a
> different squid.conf file using
> squid_conf="/usr/local/etc/squid/squid_wireless.conf". It appears that
> this option is ignored, because on boot squid still tries to load
> squid.conf

Paul, thank you for your mail.

It looks like it's my fault: I refactored the rc script a while
back and obviously broke this feature.

Could you try this patch?

Index: files/squid.in
===================================================================
--- files/squid.in	(Revision 1875)
+++ files/squid.in	(Arbeitskopie)
@@ -77,6 +77,7 @@
 squid_conf=${squid_conf:-"%%PREFIX%%/etc/squid/squid.conf"}
 squid_enable=${squid_enable:-"NO"}
 squid_fib=${squid_fib:-"NONE"}
+squid_flags="-f ${squid_conf} ${squid_flags}"
 squid_pidfile=${squid_pidfile:-"/var/run/squid/squid.pid"}
 squid_user=${squid_user:-%%SQUID_UID%%}
 


More information about the freebsd-ports mailing list