On 11/14/2010 10:56 AM, Kinkie wrote:

It'd be much more generic and interesting to allow specifying
arbitrary config file lines (to be interpreted before loading
squid.conf)
e.g.
squid -c 'http_port 3128' -f squid.conf

I do not think this is needed because one can create a temporary file with the "arbitrary config file lines" and an #include statement.

Supporting '-' as a special filename for the existing -f option may be useful. That special filename would cause Squid to read the config from stdin. Handy for simple scripts and read-only environments where it is difficult to create a disk file.

$0.02,

Alex.

Reply via email to