Setting Squid options

Haravikk me at haravikk.com
Sat Oct 16 08:40:52 PDT 2010


Hmm, now that it doesn't quit on start-up, it seems to hang instead. Don't suppose anyone would know why Squid would become unresponsive when started automatically with the launchd profile rather than when started manually (unloading then loading the launchd file)?

It's not crashed or frozen or anything, just doesn't seem to be doing anything; any connections sent to it just time-out.

On 16 Oct 2010, at 16:08, Haravikk wrote:

> Aha! The following seems to work just great:
> 
> dns_testnames localhost
> 
> Trickery is always the answer! Thanks for all the replies!
> 
> On 16 Oct 2010, at 14:48, Jean-Francois Gobin wrote:
> 
>> I have not tested this, but using the statement dns_testnames, you could
>> specify something you're sure your DNS will automatically resolve, such
>> as something in your domain.
>> 
>> 
>> 
>> http://www.squid-cache.org/Doc/config/dns_testnames/
>> 
>> 
>> 
>> 
>> On Sat, 2010-10-16 at 08:37 -0500, Ryan Schmidt wrote:
>>> On Oct 16, 2010, at 06:31, Haravikk wrote:
>>> 
>>>> Now, Squid has an option to disable this test (-D), however I'm unsure where would be safe to put this? It looks to me like /opt/local/etc/LaunchDaemons/org.macports.Squid/Squid.wrapper is the correct place, but I'm wondering if this is likely to be overwritten during a MacPorts upgrade?
>>> 
>>> Yes, that file will most certainly be overwritten next time you rebuild or upgrade the port, and your changes will be lost.
>>> 
>>>> Is there any more preferable place to put the option?
>>> 
>>> I do not know.
>>> 
>>> _______________________________________________
>>> macports-users mailing list
>>> macports-users at lists.macosforge.org
>>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>> 
>> _______________________________________________
>> macports-users mailing list
>> macports-users at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
> 
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users



More information about the macports-users mailing list