[squid-users] Squid -k parse -f alternateconfig file
Amos Jeffries
squid3 at treenet.co.nz
Tue Sep 12 13:11:17 UTC 2017
On 13/09/17 00:01, Garbacik, Joe wrote:
> I am using an alternate filename for my squid configuration and am
> trying to validate the file below going live with it. Should I be able
> to use both the –k parse and the –f filename options at the same time?
Yes.
> It looks like “-k parse” is defaulting to only use only
> /etc/squid/squid.conf.
>
> # squid –f /etc/squid/squid-20170912a.conf -k parse
If that is a cut-n-paste the '-' on the 'f' is not a hyphen.
Otherwise, I'm not sure whats going on here. We have config regression
tests and other things explicitly using the -f and -k in exactly the
manner you are trying to use, so it is definitely working and checked
regularly.
Amos
More information about the squid-users
mailing list